You might want to verify that the throttle isn't sticking. Next time it acts up, pop the hood and see if the throttle linkage is returning to the idle stop when you let off the gas. Other than that, I would say common throttle hang or perhaps a flaky/sticking IAC valve.