Most likely there are other problems with the car and this change just started to reveal them. There is a chance that it could be an electrical or computer problem rather than the alternator itself, but replacing the alternator will allow you to eliminate electrical or computer troubles as a potential cause of your car's engine dying.