engine sputtering bad need help
A few days ago I noticed a shutter on takeoff. I thought it was the clutch starting to slip. Today on the way home at a light it sputtered an backfired but didn't die, felt like it was running out of gas. The CEL came on for a second but went off. Shut it off thinking the timing belt or plugs. Cranked it up and started fine. Engine pulled strong as ever, but if the RPM dipped lower than 2k it would sputter and run like shit. I was able to limp it home but had to rev it like crazy at stoplights to keep it running. Now its a gamble when I crank it it runs fine or sputters.
I'm thinking a sensor or vaccum hose, but need advice on where to start. The sparkplugs are overdue, would they do this?
Sorry for the jumbled post, I'm posting from my phone...that's why I haven't searched yet.
Thanks in advance.