Have you tried disconnecting your tk's cables (and tying together), a second time? But as soon as you get home...till next day.
Also, I *think* I remember reading something like the key-retention thing a long time ago, and there was (going off memory here) for a guy or two, insufficient ground to the WIN module. Again, just going off memory. Or they added a 2nd ground wire. If you can find out what ground goes to the WIN module, splice a wire in there and hook to the body, or maybe even the body ground, to test. Do a Y/T search about WIN grounds.
Also... does your truck have security...security module? I wonder how the grounds are to that? I know you said the grounds were good, but did you verify the grounds above the driver's wheel? And back by the tank filler tube?
Also...On one of my vehicles (Hummer H3), I used to have a persnikety problem with the window module. It affected (stopped) the window operation...but also the security too. If I unplugged and brought the module into the house overnight it would reset. But here's the interesting part. Eventually ...for another reason (airbag module...unrelated issue) had to remove the seats and carpeting to get at the SRS module. What I noticed was about 10 ground wires peppered around the floor inside the vehicle. That tells you how important ground are...if they need THAT many. Ok... The ground closest to the door (closest to the window module), that ground connector was badly rusted (from a once-leaky sunroof), and the copper wire corroded. Ever since I fixed that ground connector, I have not had one single issue with the module...and it's been 3 years.
Just tossing it out there that maybe there's a weak ground to the win module somewhere....and maybe even inside the module itself. Or maybe even one that affects your truck's window module...possibly. Water leaks are also commong in Rams (3rd brake light).
If bolstering the ground wire to the WIN doesn't do anything. I would take apart your old WIN module (they are a source of problems anyway) and search carefully for Cold Solder Joints and ensure the contacts are good. Both issues plague the WIN modules. And possibly remove the door sill trim and lift up your tk's carpet at the driver's feet and inspect under there for any ground wires. Water/moisture will last the longest at the lowest part of the floor. And possibly pull the door jamb wire boot back (with your hands) and look for cracked/broken wires. They get stiff and brittle in the winter (my VW had 22 of 25 door wires cracked...and about 4 were broken and frayed...touching other cracked wires). And door switches good for sure?? Seat occupancy switches register 'good' in AlfaOBD?
So...to re-cap, I believe it would be worth a try to:
1) Reset: Try 'completely' discharging the other modules in the truck by re-tying cable ends (again) for a longer period. Cost's nothing...easy while you sleep.
2) Grounds: Re-inspect the main grounds, even interior floor grounds...or grounds to the WIN module and/or other modules that affect security. And ground in the back floor where 3rd brake leaks wet the floor. Pretty easy inspection.
3) Inspect WIN Module: Remove disassemble the old WIN module and look CLOSELY for cold and/or cracked solder joints (search out WIN Module..there's about 80 videos on it). Re-touch the main solder joints with a soldering iron. Make sure batt is disconnected when you reconnect. Lots of Youtube help on this.
4) Door Wiring: Inspect driver's (and pass) door jamb wiring. Quick and easy to do.
5) Door open/close switches are good, right?