if it starts up and runs then it,s not the fuel system. it might be the lock-up converter. i had to change the sensor that runs the lock-up converter on a grand am once. it did the same thing. it would sit there and run until you pulled it in gear then it would stall.