Our trucks have become rolling computers with a myriad of interconnected peripheral sensing devices. Fooling about with the main power supply (battery) while running can cause serious grief, as you have seen.
Troubleshooting and diagnostics of any electrical fault, simple or complex, always start with the basics.
How old is your battery and when was the last time both posts & terminals were cleaned?
Pick up one of these battery terminal cleaners and clean both the posts & clamps on the positive & negative sides of the battery. If it were my truck, I'd also use a thin coating of dielectric grease on both the posts & clamps.
There's not much point in trying to pursue an electrical fault without starting at the beginning.
View attachment 520577
If you don't own a digital multimeter and are unable to borrow one from a friend, you might look for something inexpensive to buy. You will always find uses for it in the future.
Regardless of the age of your battery, you will want to check the voltage after sitting overnight and at high idle, 1500 to 1800 rpm.
The float voltage (after sitting) should be about 12.5 to 12.8 VDC.
The voltage at high idle should be about 14.5 to 14.8 VDC.
If the battery is about 3 years old or more, visit an auto parts store and have it load tested. I strongly prefer an analogue toaster-style tester because it will never lie and the digital testers have been known to be wrong.
Toaster style battery tester below;
View attachment 520582
.