It’s important to use a replacement with the same specifications as close as possible to the original, if not the original itself.
Find and use the sensors' data sheet for particulars.
This thread discusses the “why” a bit…
Hall sensor for motor
This thread discusses the “testing” a bit…
Testing BLDC motor's Phase Wiring - Hall Sensors and Wiring. - Electricbike.com Ebike Forum
In research I've found this part available as part of a variety of different sensors offering, or on a premade PCB board...
Appears to be for a 60-degree type motor/controller.
Regards,
T.C.