had one years ago that would die when one closed the R door, but start right back up. Drove the owner nuts laugh2.
What I found was one of the female receptacles in the control box connector was not positioned properly when it was molded so the receptacle was too far in and barely touching the male pin. Replaced the harness/ connector and EOP beer

I have also seen ballast resistors go open when they get hot enough and reconnect after cooling. likely not the issue but they are cheap and good to carry a spare.

Another was a bad coil wire that the conductor was burnt a good distance into the insulation from arcing on one end.

Another yet was an internally broken wire on the pickup lead likely caused from years of flexing with the vacuum advance movement.

Fun ones to find and All simple things to check that are sometimes overlooked. Keep us posted