Do you have a voltage gauge in the vehicle? Reason I said cables is I had the same thing happen in a semi. Couldn’t figure out why it would start sometimes and not others, I thought the starter would be going but didn’t want to idle the truck just then. My volt meter would read like 15 going down the road. I figured out the problem when I flipped the heater fan on and the truck died, turned it off and it fired back up (that’s fun when it happens going down the road at 60 at 90k pounds). The volt meter would bounce all over when I would flip the fan on and off. I stopped, checked cables and the ground was a little loose. I retightened everything and the volt meter hummed along at 13-13.5 the rest of the time. It was up at 15 because I was basically running all electrics off my alternator and the batteries weren’t doing anything.