Intermittent spark

Electronic pickups don't need a ground. Start at the alternator and see what is going on with the charging system first.
But if The magnetic pick-up is shorted and it is grounded it will not work at all. That is why I said if he spun it without it being in the block/grounded it fired and backfired. Before you quote me you might want to read and understand what I said .