Dodge dakota not starting

Every so often my 1994 6 cylinder dodge dakota won’t start. No turning over, no clicking but the radio and lights work. Then sometimes a day later it starts with not trouble. After having it towed it will start at the garage and the mechanic can find noting wrong. The last time it wouldn’t start after sitting for a couple of days I banged the area around the steering wheel and ignition switch with my fists it started up just fine. Any ideas. I did have the starter replaced

Maybe, the ignition switch.

My 95 Dakota used to do this occasionally. I believe the Neutral Safety was out of adjustment. Have you tried shifting to neutral and then starting?

Ed