Eliminating the RV as an X factor...
Trust, but Verify, the 5th wheel when disconnected from truck is at 12v on an internal outlet.
Check the RV batteries for tight connections and cable condition, every inch. (Same for truck positive cables.) One battery positive cable short was causing all kinds of ECM nightmares on a rig, but, didn't burn it to the ground. We were down to inspecting every inch of wire at that point. Under load the engine leaned into the cable causing a short, would loose ign and power and unshort, then fire back up violently.
Probe the following two connections on the truck and 5th wheel:
+ Auxiliary: looking for battery voltage in reference to A ground.
Ground : test for voltage in reference to A Ground first and then resistance that should be "0".
"A Ground" is any ground on the 5er or truck under test.
Then measure battery voltage on each and write down.
Plug in the 5th wheel and remeasure and write down.
Start the truck and remeasure the battery voltage on the truck and 5er and write down.
Next with the truck running measure voltage between "A Ground" on the truck and "A Ground" on the 5th wheel. We are looking for a possible bad ground with this test.
Now do a wiggle test on the wire coming out of the trailer plug and at the 5th wheel. We are looking for loose wires, broken wires, or shorts in the plug or wire near it. Measure the ground voltage between them as above and the charging voltage at the RV while doing this test. I use an analog meter as digital won't show a problem aka a needle jumping during wiggle tests.
Verify all the lights work properly like turn signals etc on the 5th wheel. Looking for any wiring screw-ups.
Someone will have to chime in on specific Dodge setups: I am used to installing a 30A breaker under the hood for the Aux trailer battery charging. Sometimes it is off a larger fuse to the breaker.
View attachment 117676
OK! That is a very comprehensive test procedure. I’ll report back. It won’t be for awhile as it’s Christmas

Scott.