Car dying sporadically
2012 Ford Escape xlt, recently got a check engine light. AutoZone code reader led me to change the purge valve solenoid.
Before changing the solenoid there were no noticeable issues with performance. After the change the engine idled slightly rough, when pressing the accelerator there would be no/little power initially but would then surge, and the engine would die usually when braking.
Assuming the new solenoid was bad I replaced it. Most problems were now fixed, but the engine now dies sporadically.
I've driven the car fifteen to twenty miles since to test it, and there are no noticeable similarities to suggest any one action causes it to die. Each time the car starts immediately. There has been no check engine light since initially replacing the solenoid. I've tried various searches, and nothing I've come up with fits the issue in having. Has anyone else had a similar problem or know a fix?