The car starts cold at the touch of the key. When put in gear, it tends to stall. Then turning the key does nothing. The starter does not turn or click or anything. But even if it does not stall when put in gear, it still will not restart. Sometimes, it suddenly quits just idling and won’t restart.
Wait a while, and it starts right up. With the right coaxing, you might be able to drive it, but it’s chancy and if it stalls, you are stuck, maybe in traffic. I suspect ignition switch, maybe the starter solenoid (although that would not explain the stalling when you put it in gear) or crankshaft position sensor, if that could prevent the starter from cranking after a start. Or a combination.