2009 Nissan Maxima abs light

Hello, I have a Maxima and about 2 month ago I replaced my passenger side wheel hub assembly. I did not do my research well enough and forgot to take out the abs wheel sensor. After the job was completed I started the car and the abs light came on as well as the slip. I then went back the wheel and took out the wheel sensor. It had broke in half. I thought I fixed my problem by just going to advanced auto and getting a new one. All was well for about 2 weeks then the lights came back on the dash out of nowhere. They only stayed on for a few min then went away. It kept happening for about another week now the lights come on after 30 seconds of the car being on and stay on. Is it a faulty abs sensor? I have already took all 4 sensors out and cleaned them so I doubt its because there dirty. Please help!