P0401 EGR flow insufficient?
Hi meb1675, welcome to Ford Truck Enthusiasts!
I'm not an auto technician, but I've seen quite a few posts regarding the same problem and DTC that you are exeriencing. In almost all cases the culprit turned out to be a faulty DPFE sensor. (DPFE = Differential Pressure Feedback EGR). The sensor is easily relaceable and not that expensive (relatively speaking, of course).