I'm getting a very bad idle surge (lope) when my 1999 Ranger 4.0 (cam in block) is in park or neutral (auto trans). Don't have the problem when in drive or reverse. It almost stalls at the low end and sometimes does.
I know it could be:
Fuel pump/sending unit
vacuum leak
Idle Air Control...