Ford Repair Questions? Ask a Mechanic for Answers ASAP
Is the computer setting any fault codes?
It is possible you have a failing computer but I would first check and see if there are any fault codes setting and one other thing you may want to try is remove the EGR hose from the EGR valve and cap it off and see if it then runs right.
Okay, post back when you ca and we can work from there.