You could probably swap it with the same year and similarly equipped Dodge Charger and, at most have to reconfigure some of the buss settings. For sure you'd have to reprogram the VIN and the PCM mileage.
I've installed a 08 Hemi Jeep Grand Cherokee PCM/TCM in my 06 Hemi GC Overland and it works fine. My main purpose for doing it was so, using my HP Tuner, I could reprogram the TCM portion so it is now a 6 speed instead of a 5 speed. Works great and is now close ratio through the first 4 gears with 5 and 6 being overdrive gears. Makes a huge difference in performance when moving that 5000 lb. barn door down the street.