Go to your local Advance Autoparts store and get a new fuel filter. Motorcraft FG1063 (made in USA) , don't buy any other Chinese brand. I just got done doing this for my dad's truck. Same exact codes. It would occasionally go into a high idle for no apparent reason. No other symptoms. The fuel lines are simple squeeze to disconnect style, no tools needed once you pop the plastic shield off.