Hello, started having an issue yesterday during driving and shutting the car off on 1996 Lincoln Town Car

So yesterday I am driving home when I start noticing my radio starts resetting when I would release the gas to step on the break, I figured maybe a wire had come loose since this was an aftermarked radio. However when I got home and shut the car off my entire electrical system went dead. I had to play with the ignition for a few seconds before it came on again. Going to work today, the same thing happened. Any idea what could be causing this?

Asked by for the 1996 Lincoln Town Car
Possible failing ignition switch. I am pretty sure they had a problem with switch seperation. (POSSIBLE!)