Logic is simple. Your problem could be in either the ignition system or the fuel system. Before fixing the problem you need to determine which one. Service techs test one system to say “It’s Good or it’s bad” Then proceed accordingly. Making assumptions, but not testing only gets us in trouble. Eliminating possible causes narrows down our search. Given what you have told us I would be looking at the ignition system first, but electrical problems are many times the hardest to resolve. With inline testers you will be able to quickly see if there are any changes in the ignition system while the engine is running. Based on past experiences I’d be looking for a bad, loose or corroded connection first and not throwing an parts at it until I’ve tested the entire system.