Change the fuel filter and clean the MAF.

The MAF could be bad or just dirty. Also check the EGR valve.

I had this exact problem a few weeks ago.

Then I had a high idle problem and changed the AIC.

Jon