when my gs-r did that it would sometime sputter or "bog" at idle like it wants to shut off......i had a msd set up and it was my distributor, the contacts were worn and weren't making contact and only like 3 cylinders were firing sometimes, my car sometimes shut off......replaced the distributor/rotor and no troubles