I take it you have a 99XJ or that what listed on your profile. You want the fan to come on earlier you say. It your engine running hotter than it use to?
I believe the temp sensor in your thermostat housing "IS" the temp sensor for the engine. It provides the signal for your dash board and the sofltware in the computer uses the "data" to figure out when to turn on the electric fan.
If i hae gathered from reading posts on her the temp sensor you want to replace is a "sensor" not a "switch" like my 88 XJ has in the radiator.
I recommend you replace the fan clutch for the mechanical fan if you notice the engine is running warmer. The clutch has a life of 5 years, some longer and some shorter, but 5 years is a good number. Your XJ is 5 years old so replace the fan clutch before you start changing out sensors. Also there no 100% accurate test for those fan clutches, so don't even try... just replace, that should fix your problem.
Also if your vehicle has gotten hot - over 225F - then replace the thermostat and radiator cap. High temps can damage them and they may not hold pressure or open too last and close too soon. I recommend you get the thermostat at the dealer.