Here's a simple test you can do yourself, in the comfort and privacy of your garage or driveway. Walk around the vehicle at night, and make sure that no lights are visible inside or outside the car. Include the glove compartment and brake lights in your inspection. If no lights are on; disconnect the battery ground cable, wait one full minute, and briefly touch the ground cable clamp back to the negative battery post from which it was removed. If there is a spark when the cable clamp touches the battery post; do not connect the cable at this time. Then disconnect the heavy power cable from the alternator. Wrap the metal terminal on the end of the cable in a rag or cover it with tape, to prevent it from touching a grounded object. Then touch the ground cable clamp to the negative battery post, and see if there is a spark. If there is still a spark; have the vehicle's electrical system checked for shorts to ground; or to do this yourself; disconnect all the fuses and circuit breakers from the fuse block one by one; and check for a spark at the battery negative terminal after each one. When the sparks stop; the last fuse or breaker that was disconnected is for the circuit that has the short.
If there is no spark when testing with the alternator power cable disconnected; your "new" alternator is shorted internally; probably due to a bad diode. I regularly warn people on this site about the epedemic of sloppily repaired, poorly tested or untested alternators which are "repaired" by unskilled laborers in Mexico and sold by discount parts stores; and have said again and again that NAPA parts stores are the only reliable local source for alternators which have been properly repaired and thoroughly tested. The employees in discount parts stores which offer free alternator "testing" also do not seem to know how to test alternators for shorted diodes.