Sounds like a bad alternator. And if your battery is weak it will cause the car to run like crap and die. Remember its fuel injected it need a power source to run the ecu and injectors. B ut also make sure you have a good ground, as it could be that you missed a ground somwhere being a fresh swap