FCS for the truck's TIPM is probably blown. When the headlight connectors short circuit it fries the whole box because the engineers at Dodge apparently never heard of using a fuse to provide circuit protection. It's a common problem and was subject to recall for 2007 and later vehicles, but not 2002-06 for some reason.
It costs about $800 to replace a the dealership. $550 if you buy the box yourself and install it. DON'T get a used one! It's probably already blown, that's why it's for sale.
Replacing it yourself involves disconnecting battery ground cable, removing the TIPM's mounting bolt to the right, the power line-in bolt to the left, a small trim screw in the front. Slide TIPM towards center of engine to free it from slide holders; you can see them by looking down into the front side of the truck's battery box. Then lift up and disconnect seven color coded electrical connectors on the bottom. On these connectors, pull the red tab down, press into the side of the connector below the tab to release the pivot arms, then pull out connector while juggling the pivot arms.
Install the new TIPM in reverse order. Connectors in, slide TIPM into holder, install mounting bolt, trim screw, connect the power line. Reconnect battery ground wire.
Go to cab, place key in ignition, using a stopwatch turn the ignition on for exactly 12 seconds and turn off again. Then start the truck normally. All lights and gauges should be working normally.
If not, take truck to dealership to have TIPM programmed for your model of truck.
connect the WiTech scantool and select TIPM, then Misc Functions, then click Reconfigure TIPM. The files are downloaded to the TIPM for which options your vehicle has and then you need to disconnect the WiTech and turn key off, doors shut for 1 min. Then you can start it up and the TIPM will be programmed to the vehicle.