I am going through something similar at the moment. My VSC TRAC and TRAC OFF lights go on and off. I had a shop check for codes (lights had turned off at that moment) and got nothing. They told me that it was weird that my truck computer would not save the code. Took it in another day when the lights were on and the technician told me that he had to use a different scanner to get the codes. He said that the regular scanner would not pick up codes that had to do with brakes, etc.
Not sure if that is true but, the second scanner got me 4 codes: C0205 (Front speed sensor LH Circuit), C1223 (abs control system malfunction, C1224 (open or short circuit in NE signal circuit) and C1241 (low battery positive voltage or abnormally high battery positive voltage).
He told me that the first code was causing the other 3 to appear. So, after reading through this site, I went ahead and cleaned the speed sensors. I still have the problem. Next on the list is to do a zero point calibration.
Hope you find the issue and post the solution here since I might have the same problem as yours.
Ruff