2002 Sportsman 500 Fan Temp Sensor

My cooling fan turns on with the ignition and stays on 100 percent of the time. I have found that the temp sensor on the back of the rad is not plugged into anything. Can this be why the fan is always turning on ? This has been an issue since I bought the atv and I don’t know where I would plug it into. Some help would be greatly appreciated