only one way go find out... and I wouldn't do it
I would say make sure your wiring is proper before any further steps... obviously your gears are ok and the shaft is ok... with a new sensor thats good too... now you need to check the wiring and all connections in it
Tom