To check for vacuum leak: Spray suspect vacuum hoses with chemtool, a cleaner that can be found at your local parts store. Caution, this stuff is flammable, and you need to be careful to wear eye protection. Also, be careful not to give the IAC or the TPS a direct blast. They tend to not do so well against moisture of any kind. A small vac. leak will cause a rise in RPM from the chemtool, and a large leak will kill the motor.
Often overlooked... be sure you hit the bottom side of the EGR valve when you are checking for leaks. Common place, and most people stop with the rubber hoses.
If nothing turns up, you may want to rethink checking your IAC.
Another consideration may be overfueling due to the O2 sensor. If you want to rule that out, the resistance between the black/tan and black/dark green wires should run from 5-7 ohms. Out side shot, but easy to check.
Best of luck to you...
TheRasper.