Stability control problem

I'm having a problem I believe with the stability control. After five about five years, my 2010 corolla cant take a curve without the stability control braking the car. At least I think it's the stability control and afte rdoing some reading, I'm thinking maybe it's a bad Yaw sensor? At more than about 35 mph I can't do an on or off ramp, or a curvy road for instance without the car braking.Anyone have any input or advice on how to proceed?
Thanks in advance. First time here.