I doubt it. Things aren't usually that straight-forward with a CanBus system. The signal has to match what it is expecting. You'd have to try it, but you risk ECM damage.
The temp switch goes to the ECM, which triggers the cooling fan relay, which starts the fan. I'd use your sensor (or a switch or a fan controller) to trigger a separate relay, pulling in the fan. Be sure to use the same power source, to avoid shorts. You might be able to trip the existing relay in parallel, by grounding the relay coil, prior to the ECM, but it could cause interference or module failure.