you should also see a code on the IAC too. I had a simular revving problem (not as high in rpm's). The code ran was for the IAC, I replaced it, cleaned wirring pigtail, also cleaned the entire air intake and MAF at the same time. Very little fluctuation in the rpm's since, except when the A/C kicks on.
Hope this helps too.