Bad knocking under feet

Take a jumper wire direct from the battery+ to coil + and start it and see if it stays running. Just as a test. If it does follow your blue wire from coil that's the wire that keeps the car running after cranking. ( please correct me if I'm wrong but that's what I'd try if it isn't the Ballast.)
Sorry for the late response I've been a while