The temp sender is dicky, need a new one.
The fact that the gauge goes to the top shows the gauge is working ok.
The FAN switch has nothing to do with the temperature gauge, I would get it sorted with a new fan(correct) switch.
What RS is it ?, it sounds like it had overheating probs in the past that someone tried to cover up to sell the car.
tabetha