There are a variety of problems that can cause unstable idle.
I thought the idle problem was gone but...NOT. I cleaned IAC, and it was very dirty. I also cleaned the housing which it presides in. I also cleaned the trottle body, although it wasn't very bad. My car has 20k miles and some mods. Porting and polishing of the heads and intake, degreed cams, jeal chip and headers, followed by B&B 3" SS exhaust and 4:09 gears and ram air with K&N.
I also found that there was a vacuum leak where the MAP sensor connects at the intake. The metal tube connection point for the vacuum tube came out of the intake when I was removing the tube. I epoxied it with titanium epoxy and installed a new sensor.
I have not performed the IAC learn procedure. Please explain what that entails.
P.S. Remember that this only occurs when the wheels are rolling. As soon as I stop the surging stops!
Thanks for you help, Ed