Years ago we had a dist where the wires entering the dist were broken. Acted the same as a bad pickup. Sometimes when the vacuum advance moved the plate, it shifted the wires enough to open the wire break, sometimes it wouldn't.

Really sounds like a broken wire between the box and the dist pickup. The act of swapping parts closes to the wire break and things work, for a short time. Gene