How to fix the VSC system for 1999 Lexus GS300?

This problem started when I went downhill and then around a curve (in the winter, so the road was a little slick); the VSC light came on (which then caused the check engine light to activate). Eventually, the engine started acting like it wanted to die (eventually it did). But when I disconnected the battery, it appeared to reset the car and it sounded fine and no VSC or check engine lights were on. After I drove it again and turned a corner, the process repeated.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0