Intermittent ignition spark

I hope the cap & rotor fixes the problem, but I have my doubts...