I have a 2022 3500. Had issues with trailer camera on fist tow. Started glitching. And the wife fix was pushing on mirror switch to standard mirror, pause then pull forward for digital. Worked but temporary. Note I moved the bumper connection to the bed. I could hookup and jiggle the connection while looking through rear window at rear view mirror and see that it would connect and then disconnect. F'd with connector center pin by widening the split in the centerpin. No help. Eventually I broke half of split pin off. Ordered new connector and all good for next 1K miles of trip. Then started glitching again. Did some T/S and being a retired ET, I researched options. I changed out the connector on cable from camera to a male BNC connector then changed the connector on truck, to a female BNC connector. It has been working without issue now for two trips, about 1.5K miles.
I would try to see if you can make connection fail by wiggling bumper connection while connected and viewing rear view mirror/camera. If it flickers and interested I can send you part numbers I used to fix mine. If it doesn't flicker you will have to T/S where the connection is breaking down.
Good luck
Mark