Car Intermittently won't start

I have a 2002 Dodge Intrepid that generally runs fine but, on occasion when I turn the the car off and then try to re-start it nothing happens. It has gotten so that I am afraid to drive it, so I am forced to leave the engine running while I run my errands. Other than this one problem the car runs fine. Does anyone have any idea what is causing this problem? Any advice would be appreciated. Thanks

Neutral safety switch? Try putting the car in Neutral instead of Park before you try to actually start it. If it starts right up it’s probably the neutral safety switch is either worn or out of adjustment. Pretty common problem.

Are the battery cables clean and battery in good condition? I would suspect the starter if the battery and cables are good.