I'd check your idea first, could be a bad cable. Next might be a bad ignition switch. One thing to check: when you turn the key see if 12V is gettting to the starter. If not, check if the cable has an 'open' in it with an ohmmeter (you'll need to unhook the battery).
Sensor? Maybe, but check out the basics first.