Might be worth scanning for codes, Auto parts stores Sometimes do it for free, write down the code numbers. Ignition wires/plugs could need replacing. Does it smooth out immediately when you take it out of gear?