I have done this before, my printer got fused and the same varistor was the cause due to voltage surge. I took the varistor to the parts shop, and they said no need to replace it, just put a jumper wire. I did that and its working.
Why a resistor? Won't it resist the current flowing? And how much ohms of resistor?
I am a noob in electronics.