starter engaging while at idle in park and when truck is turned off on 1999 Ford F-250 Super Duty

Starter will engage while I'm at idle in park. The starter also will engage on it own without the keys in the ignition. What is causing this?

Could be a bad ignition switch or a short circuit in the starting system.