If this happened after replacing the switch then it is more then likely one of two things.
First it is the switch itself that has a loose solder joint that causes it to not keep ignition voltage supplied when the switch is in the on position.
Next would be a loose connection with the connector which would cause the same issue.
Below is the process to replace the switch just to ensure you didn't miss something but it is pretty clearly a loose connection at the switch.
If it were me, I would remove the switch again and check all the terminals in the connector and if they are fine, have them provide a new switch.
Let us know what questions you have. Thanks
Images (Click to make bigger)
SPONSORED LINKS
Sunday, June 6th, 2021 AT 6:37 PM