Initially I was going to say the throttle position sensor, but since air was mentioned, I'd check that, and the Mass air flow meter. I've had vehicles where the TPS controlled idle and shift timing, and MAF's probably work in conjunction with that kind of info too, so its worth a look.