1 possible solution
The wiring harness and crank sensor were the best place to start. The harnesses do not handle the heat in the engine compartment as well as they should. I am confident that it was needed.
Your running problem does not sound like the ignition system. It is very common for the contacts in the distributor cap to turn green with corrosion. But turning the engine off and back on would not 'cure' this.
Another common problem with your engine is the throttle actuator. This is also called the throttle plate and it opens and closes as you depress the gas pedal. The electronics and even the wires inside of this unit are also vulnerable to the high engine temperature. I have seen them taken apart after replacement and the insulation has become very brittle and breaks off. If this unit is still the original one, that could be your problem.