Mine did the exact same thing when somehow I jarred the lower intake boot from the TB. It through all kinds of codes, misfires, lean conditions I believe. I could not get it to run right. Finally checked the boots and that was the problem. Had it fixed in 5 minutes.

I would double check all the intake hoses after the MAF sensor.

Sent from my DROID RAZR using Tapatalk 2