I have a LIMITED, don't know what model you have, but I would assume that the grounding should be the same. When you unbolted the housing for the dryer/accumulator, there should have been a small GROUND wire connected to the right side (looking at the accumulator) stud. Was this wire re-connected? This will cause all kinds of weird electical gremlins (lights doing weird stuff, radio freaking out and starting issues.
Why did you replace the A/C compressor? Black death? If so, you should have replaced the condensor, flushed the evaporator and replaced the orifice tube. If dual A/C, you should also flush the rear evaporator/lines and replace the rear expansion valve. If not, you will end up with a failed compressor again due to the crud blocking the orifice and starving the compressor of oil.
2016 Ford Fusion SE (1.5L Ecoboost)
2015 Ford F-150 Lariat Supercrew (3.5L Ecoboost)
2010 Lincoln MKZ (3.5L DOHC)
2007 Ford Focus SE (2.0L DOHC) A.K.A. "Zippy"
2004 Ford Freestar Limited (4.2L OHV)
Generac 17.5KW Generator (33HP Twin Cylinder)
Farm Hand 60 Gallon Compressor (3 Cylinder)
AMSOIL in everything I own that I can get it in...
"Have a good day, and a better one tomorrow"