Hey,
Sorry to hear that!
As per my knowledge, this must be a wiring issue. May be this will help you:
https://handtoolsforfun.com/how-to-connect-a-multimeter-to-measure-current/Also, I think the crank sensor is not working properly, which is cutting off the crank signal while the engine is running. This is happening due to wiring issues. You can check it using multimeters.
Crank sensor monitors the position and speed of the crankshaft which plays an important role in starting an engine.