Hello and welcome to justanswer.com
The signal from the hazard switch goes to the instrument cluster which via the scp network sends the message to the FEM and REM to activate the front and rear hazards. If the switch was removed and all the hazard lights are on then it sounds like it is the cluster. The dealer should have checked this with the Ford scan tool to see if the hazard switch pid is active. If inactive then the cluster may be internally shorted.