With four leads it is probably a ferrite-core transformer. Good luck trying to find another one exactly like it. Are you sure it is bad? Make continuity tests on all possible combinations of leads, measuring two at a time: 1&2, 1&3, 1&4, 2&3, 2&4, and 3&4.
There should be continuity on two of...