I just wanted to share this as I could not find any help myself. I got the infamous 3rd brake light leak and it corroded my RF hub. I was towing my boat and as I pulled in front of my house my truck went into "auto shift correct mode" on the dashboard. It was putting me into park and shutting off when I was in Drive or reverse. In (NJ) - Dealer wanted $750 just to diagnose it even though I knew the issue.
Finding a fix. So I took apart the back seat and got to the rf hub and saw the male pins on the circuit board were corroded as well as some corrosion on the female connector. I looked for a preprogrammed RF but I could not find one for 5th gen. I also looked at ordering a virgin rf hub from Mopar but I called several mechanics and locksmiths and no one had the capability to tie the vin to the hub. The last locksmith I spoke to said, "the dealer got you by the balls."
I didn't want to pay the dealer maybe $1500 or more trying to fix it. I figured I'd try getting a replacement hub on eBay for $40 and having the pin connector piece removed and re-soldered to my original rf hub as it was programmed already and the plastic pin connector holds zero memory. I found an old-school business, Eastern Electronics, and they did the work and tested it. I plugged it in tonight after cleaning the female connector with DeoxIT and a .44mm interdental brush plus air compressor and Jaojao electric cleaner on the exterior of the connector and the circuit board itself.
I connected it and it works. No check engine light, no turning off. My negative terminal was disconnected the entire time. I never reconnected it until the repaired rf hub was re-connected.