A few trouble codes
The Ford sensors are Bosch. Don't get the universal replacement ones either.
With both those codes you can pretty much safely say the sensor is bad. I would actually replace all of them as a preventative maintenance item. Might even get you some better gas mileage.
The p0401 is tricky. I've seen several issues with this. The most common was a bad dpfe. If you have a vacuum pump you can see if the egr valve is working and if the passageways are clogged. Put vacuum on it. You'll only need about 10. I would actually put about 20 on it. If you put vacuum on it and the engine stalls or runs really rough then it's working and the passageways are clear. If it still runs fine and the valve holds vacuum then the passageways are clogged. If the valve holds vacuum and the engine runs bad and/or stalls then it's most likely the dpfe. I would check the two hoses going from the dpfe to the egr tube first though as i've seen these rot and come apart inside. Napa sells these even.
With both those codes you can pretty much safely say the sensor is bad. I would actually replace all of them as a preventative maintenance item. Might even get you some better gas mileage.
The p0401 is tricky. I've seen several issues with this. The most common was a bad dpfe. If you have a vacuum pump you can see if the egr valve is working and if the passageways are clogged. Put vacuum on it. You'll only need about 10. I would actually put about 20 on it. If you put vacuum on it and the engine stalls or runs really rough then it's working and the passageways are clear. If it still runs fine and the valve holds vacuum then the passageways are clogged. If the valve holds vacuum and the engine runs bad and/or stalls then it's most likely the dpfe. I would check the two hoses going from the dpfe to the egr tube first though as i've seen these rot and come apart inside. Napa sells these even.
You're right about the dpfe, but I find on the 4.6 f150s 99% of the time the egr ports are clogged around 125-150k miles. I figured he needed a good throttle body cleaning anyway so he should go ahead and do it all. Then if the problem came back to replace the dpfe, but you're right I should have mentioned it.

