engine dies when fans turned on

Most of the automotive relays have a NO (normally open) and a NC (normally closed) set of contacts. Sounds like you wired the fans to the NO and the MSD to the NC. When you switch the relay the NO closes and the NC opens.