I was thinking the same thing.
Throttle position sensor has already been suggested. I've had problems with a Mass Air Flow Sensor that could give problems like this. But heck, it could be the ECU. Time to break out the digital multimeter, carb & choke cleaner, and check for a fuel supply...