2003 ford f150

Egr code p0401 is code that comes up..the symptoms are: feels like it just slips out of gear,loss of power..thought it was transmission, but i don’t think it is..replaced practically the whole emissions system, only thing havnt replaced is cadallac converter..what do u think it is ?