Well, if it is a bad coil, you could buy one new one and keep switching, real pain in the butt. Look at the airflow sensor first, it is easy. It is the small black box located in the air duct into the engine. Un-plug the wire harness from it, and remove the 3 torx headed screws. You will need a tamper proof torx driver set for this. Gently remove the sensor and look at the two really small sensors which are suspended between two metal posts. Take a q-tip and isopropyl alcohol and
very gently swab them clean. They should be silver in color, if they are black they are dirty and will cause it to run like crap.
The dealer won't clean these things, to them they are replace only, but we have cleaned literally thousands of them with no problems. It is a really common problem and causes the symptoms you describe.
If it is a coil problem, without the proper equipment it is either replace them all or install 1 new one, recheck for problem, take the old one removed and replace another one with it, and so on, which is a long hand burning process. Or you can drive it to NM and I will handle it