The Ford DPS6 (DDCT) has experienced several problems primarily related to the dual-clutch assembly however, shifting problems can also occur which involve the TCM (a.k.a. shift motor). Fortunately, the TCM is external and is fairly easy to replace. First, validate that the TCM is the issue.
Shifting problems can occur that involve the TCM (a.k.a. shift motor).