If an intake air sensor is not working properly, the computer will do some interesting things. If it's the IAT (Intake Air Temperature) sensor, then I would just buy one. They are less expensive than the fuel to pick one up....or at least should be. While your in that area, take a real good look at the are filter element and intake pipes to the filter. Any blockage here will have very negative results.