The dual contact connectors are not necessarily compatible with the J2863 standard. Parts stores usually sell both and if the OEM is replaced with a non J2863, it will probably give problems.
Another common problem on the RAM is the the bumper mounted plug is two pieces that snap together, one from the rear and one from the front. On my truck, they weren’t snapped together all the way which caused me to get a “Trailer Disconnected” on the screen. I finally found it, snapped them together all the way and fixed the problem.
After I retired, I worked at an independent NAPA store that does a lot of farm and heavy duty parts supply. I helped three different customers that had the same problem with this fix. They didn’t have the problem on the bed mounted plug for the goosenecks....just the bumper mount.
Another had bought a dual contact connector and self installed it on a dually flatbed for goosenecks and it didn’t work right.