Where is it broken? It might be easier to just fix it or rig it.
I checked ebay and found some close matches, maybe you can modify these.
Google might have been a better search.. But used eBay because I was looking for one the other day, a different model...
"Optical Interrupter"
https://www.ebay.com/itm/375270183722https://www.ebay.com/itm/362603575351Or roll your own,
https://www.ebay.com/itm/267036454255They are basically an ifrared LED and a light sensor, the sensor rarely goes bad but the LEDs fail, or just replace the whole thing.
I was going to remake this PCB but have not got to it yet. Mine showed up in two pieces some years ago and had to solder it back.
I also blew up the microcontroller and replaced it. That was my first one. Had to reflash it too. Gawd what a pain in the ass it was.
Old technology, old hardware, old old old
I was going to make a mini-wheel.....