Well if your engine continues to run when you have switched off the ignition it's clearly still getting power to the coil. Therefore, if your sure the ignition switch is not at fault, then it's back feeding, due to a wiring fault. Such a fault cannot be diagnosed remotely. Only hands on with a...