ah the joys of 5.0 fuel injection. Mine did that, try cleaining the "salt and pepper" terminals behind the upper intake. Sometimes when those get dirty they can make your car surge. Your EGR can be bad, your BAP sensor could be bad, Your tps voltage could be off........ blah blah blah along with like 50 other things.
__________________

Derp!