OK, I will throw in my 2-cents. You have TWO hot wires powering your ignition. There is a brown wire that supplies a full 12V during cranking & a blue wire that supplies voltage while running.
If you have a ballast resistor, the blue wire's 12V is dropped down to 7V (?) going through the ballast resistor.
Based on what you describe, where you say "it almost wanted to start when I turn off the key". To me, that sounds like the brown wire isn't getting the 12V to the ignition (while cranking), but the blue wire still has power (while key is in "run" position). (fyi-both the brown & blue wire come from the ignition switch through the bulkhead disconnect to the ignition)
a. check the + side of the ignition coil to see if you have voltage while cranking the engine (12V). This will test the brown wire.
b. check the + side of the ignition coil to see if you have voltage with the key in the "on" position (12V if you don't have a ballast resistor OR 7V if you do have a ballast resistor). This will test the blue wire.
Assuming my guess is correct, you will have NO voltage while cranking & 12V or 7V with the key on. If I'm correct, then trace back the brown wire to check for voltage (all while cranking):
1. At the bulkhead disconnect (back of brown wire while plugged in)
2. At the female plug where the brown wire goes (unplugged - checking bulkhead disconnect, not the brown wire itself) - might as well look for corrosion and/or if the brown wire has become partially un-plugged while you're at it.
3. Trace that brown wire, under the dash, back to the ignition switch & check for 12V again while cranking.
Once you find where you have 12V, then the problem is "down stream" of that. It could even be a broken wire (or bulkhead disconnect connection, ignition switch, wire under the dash too).
A much faster way is to actually "hot wire" the car. Make a long jumper wire going from the + of the battery to the + of the ignition coil. An alligator clip on the battery end would be a good idea since you don't want to leave this wire hooked up for more than a minute or so. With the jumper wire hooked up, crank the engine & see if it starts. Once started, immediately remove that jumper wire. This would also tell you if you have a problem in "the brown wire circuit"
HOPE THIS HELPS!