The problem your experiencing sounds like it is the infamous fuel cut. This occurs when the ECU is reading that the engine is getting "too much" air. Although there are defenders against fuel cut that is not the best way to solve the problem. Heres a link to some more information...