First, I would recommend you take the alt. to a shop that can bench test it for you. This eliminates any possibility the fault is in the on-board wiring. If you settle for a test with it on the motor, make sure they connect right to the alt. Some of these auto-parts stores don't and then try and sell you a new alt when all you needed was a cable. Don't fall into the trap of buying a cheap reman and turning in your stock Denso for core. Try and fix it yourself or get someone to repair it. The after-market and remans probably won't last as long as a repaired Denso.
__________________
'99 4Runner SR5 5spd 3.4L V6 4WD(U.S), original '99 Talls in front, OME 906s in back, Hella fogs, Trekmaster shocks in front, Billy in back, no running boards, FIAMM horns, Alpine sound, Michelin LTX M/S2's, owned since new.
'97 HiLux SW4 5spd 4WD(Japan model bought in Brazil assembled in Argentina, very close to a 3.0 4Runner/Surf)
'71 FordWillys Jeep CJ5 (with straight six Ford Maverick 3.0 liter engine--lives in the mountains north of Sao Paulo Brazil)
My Backyard Frame Swap