High idle and having a lope after coming to a stop are VERY common 22RE problems especially in the 89+ injection system.
I have run across this at least a dozen times. One of these 4 things is usually to blame. The first two are most common. The loping will usually go away if you manualy force the throttle plate closed and is caused by the throttle plate being held slightly open by carbon and dirt build up.
1: Make sure the throttle cable is adjusted properly and has slack in it with the throttle plate closed (no throttle) This is commonly mis adjusted after a motor swap or major servicing.
2: Make sure the throttle plate isn't gummed up with carbon, dirt, and debris. It will keep the throttle plate from closing properly. A lot of times you can actually feel the throttle sticking with your foot. Usually the first time you go to give it gas in the morning.
3: That main idle screw that is circled in RED should be taken out and make sure the rubber O ring is good and the tip is clean. I usaully brush it with a brass brush.
4: Vacuum leaks.
To fix:
1: Adjust throttle cable untill a small amount of slack is achieved.
2: Remove the main hose that comes from the MAF/filter box. Soak down a rag with carburator cleaner or EFI cleaner and scrub the inside of the intake throttle plate and throttle body until clean. Don't spray cleaner in there. The TPS is not sealed and you can damage it. Manually open the throttle and clean everything you can get to.
3: While the main idle screw is out start up the truck and spray down into the hole a good amount. Smear the O ring with silicone grease or spit and re-install.
4: spraying a small amount of carburator cleaner around the intake can highlight a vacuum leak. If the idle jumps up suddenly you have found the area of the leak.