If that's the original Toyota alternator keep it and just fix it. I'm on my 4th one from O Reilly's.
Yeah... If I replace it, I will buy a Bosch, and pay the extra price for it. I've already been down the road with the crapity-life-time-warranty junk. Saving $50 or $60 on an alternator is just not worth the hassle when one fails... at least for me.