I live in Texas and Since I purchased my truck in 2020 the temp will go up to 226 degrees before the fan will come on. I took it back to the dealer they replaced the coolant temp sensor the water pump and reflashed the ECM with the same result. They then tested a new vehicle with the same engine and it would also get up to 226 before the cooling fan would come on. I know that the fan should come on to keep the engine below 230 degrees but not pulling anything this seems like a high temp to have engine at and then shut it down.This is when I am not running the AC. I find to help cool the engine before I shut it off I will turn the AC on high with the blower motor on 6 or 7 then the cooling fan will come on to cool the AC condenser core. Is it possible that the ambient air temperature sensor isn't reading correctly and isn't sending good information to the ECM. What ohm resistance should the ambient air temp be at different temperatures so I can test it?