first time it happened, the RPMs shot up to close to 2k, then dropped drastically, then went up again. This happens fairly regularly, but this time the whole car sputtered and sounded near death. I had the spark plugs replaced.
The car worked fine for a couple of months, before the same thing happened again, this time I had the MAF sensor cleaned. Again this fixed the problem temporarily.
Then today, same thing again, but the engine died after just a second or two instead of staying on and sputtering. It has been wet outside/raining each time this has happened.