My truck was randomly shutting off while driving a few days ago, and since I was having grounding issues a couple months ago I decided to replace the ignition switch yesterday. After the install the truck started and ran perfectly. When I went to drive it to class this morning the truck wouldn't start at all. When I insert the key and turn to the first position the gear selector light turns on only but the rest of the dash is dead. Any turn past the first position shuts that light back off. No power windows or headlights either. I did try leaving the headlight switch turned on for about a minute with the key in and the dash lit up and the truck started but shut back down about 5 seconds after I put it into gear and I cannot recreate this so far. Also, the power lock button seems to be reversed and if I hold it in the unlock position there is a loud repeating clicking noise under the dash. I am pretty confident I installed the ignition correctly since everything had wiring harnesses and it ran perfectly for at least 30 minutes last night after I installed the ignition switch. I have no idea how to proceed from here.