Usually there are three fan wires:
Red +12v
Black Ground
Yellow RPM
In theory, if the fan is good and the mobo header is bad, you should be able to hard wire the red and black wires to one of the molex connectors that are normally used for a hard drive or cdrom etc.. Try connecting the red fan wire to the yellow side of the molex and the black fan wire to the black wire next to the yellow one. Leave the Yellow fan wire plugged into the fan header on the board. That should give you a working fan that also reports rpm to the motherboard..
Here is an adapter you can buy that does the same thing with no cutting or splicing.