This TSB discusses the 4.7 with the hydraulic fan:
http://www.wjjeeps.com/tsb/tsb_wj_0700201.pdf
THE COOLING FAN SHOULD BE OPERATING WHEN ENGINE TEMPERATURE
IS BETWEEN 105°C TO 112°C
When yours started to run normally was it as loud as when you unplugged the temperature sensor?