Runs fine and then it doesn…
Runs fine and then it doesn't. That is an electrical issue. Could be a bad ground, pinched wire, loose connector or water seeping in. Intermittent problems are so hard to find. I had a problem like that with a wire harness. I could move it and the car would run again. Eventually it quit all together and would never start. I was so mad I jammed a baseball bat into the harness repeatedly. Started up and never had a problem again.