Sounds like a vacum leak, fuel mixture or some sort of fuel starvation.
Give these a try before looking into it deeper.
- Change all filters. Oil, fuel, air.
- Change oil - bad oil can foul spark plugs.
- Clean the AFM
- Check for cracked hoses, tighten intake clamps.
- Check for loose electrical connections.
Hope this helps.