Before you start chasing electrical gremlins, how are the mechanicals. Have you checked your compression lately? If you have a gage, or can get one, this is a good idea. Pulling the spark plugs out and checking them for color is a good indicator too. If they are dark or oily, your compression could be low. If the gap is too big, more than 0.050", that could be a problem.