Those Ignition Systems often acted up when they got Warm, then later when Tested back in the Shop, they would work fine. However intermittent Spark can also be caused by Corrosion anywhere in the Ignition, of internal Breakage of those wire.
Out of the Water, these things will appear to run...