Thanks for the question.
First double check for any vacuum leaks, especially around the PCV area.
Then if that is ok, remove the MAF sensor "mass airflow sensor" that is on the air filter box. Get some brake cleaner and spray down the 2 small wires in the airflow opening. The blow it off with compressed air. Reinstall. Unplug the battery for 15 minutes and drive and retest for codes.
Thanks
Fordanswerman
FORD MOTOR COMPANY CAR AND POWERSTROKE SPECIALIST FOR OVER 16 YEARS. ASE MASTER SINCE 1991. CURRENTLY WORK AT A MAJOR FORD DEALERSHIP. GIVE ME YOUR FORD PRODUCT QUESTIONS, IF I HELPED, PLEASE HIT THE ACCEPT BUTTON. EXPERTS QUESTIONS ON FORDS WELCOMED