Abs abd traction control warning lights on

Perhaps the sensor wasn't the problem but you could try disconnecting the battery and leaving it for a while. This will reset the ECU and might clear the lights.
Make sure you know your radio code before you disconnect the battery.
 
iirc in my experience with ABS units, the way to reset the ABS is to simply rotate a wheel to give the sensor a signal to act on. Have i mentioned the abs unit multiplug fix yet?