Bizarre Ram 1500 Issues

I recently purchased a Ram 1500. I was told before I purchased it, that a new ECM and battery had to be replaced and were done at the local Dodge dealership.
Three days after driving it home, the problems began...cranks, but wouldn't start after filling up with gas...5 minute drive in the rain and the warning lights (Air bags, "Check Gauges") go nuts, then I lose the engine entirely...
So I brought it back to the dealership...
They call me and ask me if I had jumped the truck or placed a charger on the battery, as it appeared "overcharged". They replaced the battery, drove it around, and apparently everything is fine now...
I have a BAD feeling my NEW new battery is going to be fried too. I think I bought a lemon. Can anyone tell me why on earth a battery would become "overcharged" when I didn't jump it or charge it or anything ?? ECM related ?
Ugh.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

The voltage regulator for the charging system is built into the PCM. If defective, it could allow the alternator to over-charge the battery, as well as cause the rest of the electrical system to run at a higher-than-designed voltage.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Motorsforum.com is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.