There is so much nonsense on this thread it was hard to read.
First if your not a tech, maybe you should leave diagnostics to a tech.
Second, doing a resistance test on an ign. coil is 100% useless and will tell you nothing. Ign coil's work or they don't, it is just that simple. So put the micky mouse meter away. If a coil stops working, check its power source and connector plug.
Thirdly, what does valve settings and fuel pumps have to do with ign coils??? Going back to #1, getting a certified tech to diagnose is worth gold.
Lastly, shop rates and cost of parts. A year ago was that a year ago, since Covid rates on shop time and parts have gone up substantially. Shops, dealer or not pay more, the cost is past down.
We just installed a fuel pump in a Can-Am Spyder, pump alone $795.00, 2hrs labour on top plus taxes.
Now on your initial problem, BACK FIRING, most all backfiring in a 4stroke motor is caused by a lean condition.
Ignition cutting out can cause back firing IF it fires back up while running but extremely rare and is likely to be a bad connection if this is the case.
But with out seeing and hearing your bike, i'm leaning towards a lean condition with the fuel system or related components.