Won't start one day and fires up first crank next day

Yes the ballast orientation. It is just two resistors "the long way" in one "container." The "U" shaped cutout orients it. Proper, unbroken harness connectors are "keyed" so they only go in one way. Otherwise you can look at a wiring diagram and figure it out. The coil+ wiring works just like a 2 terminal points/ electronic ballast. The second section supplied the old "5 pin" boxes. Chances are you don't really HAVE a "5 pin" box, as most have been replaced.

You can not tell by looking at the ECU as some boxes have 5 physical pins. You have to carefully check resistance from "the 5th" to the other 4 to determine if it's a dummy. More modern "4 pin" boxes can use either a 2 or 4 pin ballast. Older "true" "5 pin" boxes must have a 4 pin ballast
Diagram below is geared to conversion which is why upper right wire says "existing" THAT is the "run" wire from the key. Notice those two ballast terminals are JUMPERED and that the "U" is at the bottom of the ballast.

The "bypass" (IGN2) is not shown on this diagram. It connects to the coil+ ballast terminal.
image-jpg.jpg