I'm assuming that it's got individual coil packs for each cylinder, and if so the coil would be the first thing I'd look at. A coil can fire normally, and then break down and throw erratic mis-fires.