I would recheck that ignition switch. That sounds like the logical problem. Either that, or you have a short somewhere. The only other thing I can think of is when you shut your car off, you ground the coil, if that ground is bad, it may do that. You would have to get your hands on a wiring schematic to search it out though.