A friend of mine had the same thing happen but in her case it was a Ford Explorer. Turned out to be the starter. She said that her mechanic said sometimes in a bad starter the rotor or whatever stops on an open wire and no contact is made somehow. A slight jolt or hitting it with a hammer would move it just enough to make that contact. It would be fine for weeks and then the same thing happened. Replaced starter and it ran no problem again. (Sorry for the long post but thought it would help).
Thanks for the info...
Years ago I had a beater car with a bad ignition switch. It wouldn’t pass enough current to engage the solenoid. I got pretty adept at going in there with a piece of metal (a socket, actually) to bridge the contacts to get the starter to run. Only problem was I had to go in from below while lying on the ground.
Eventually, I put a switch on the dashboard to do the trick which lasted until the car went to the junkyard.