Well from what you've said above it won't need a new sensor, ...more likely new wiring or at least a repair to the wiring.
If it's burnt through it could be shorting out or have a break in the wiring now. Auto electrician is what you need if you don't have the know how.
You could cut out the burnt bit of wiring yourself, solder back together, heat shrink and secure safely this time. Fyi disconnect the battery before you start cutting wires if you do try to fix it yourself.