I had the EXACT same issue with my 91' 22RE pickup. There are a few potential solutions for this problem.
1) Clean the inside of the Throttle Body
2) Check all vacuum hoses
3) Check that the TPS and MAF sensors are working
In most cases its either an air leak or sensor that needs replacing.