Thanks your luck that your engine is still in one piece first!!!
The fan circuit desperately needs junking, they usually melt the fuse positions due to heat.
Best and only safest way is to rewire the fan circuit, totally seperately, you can get fan loom kits, but easy diy if wanted.
tabetha