I fixed my footswitch board by retrofitting a non surface mount phototransistor on it before the new one came.
The new one mentioned above will fit and work but the connector, which isn't on that pcb, would need to be wired up. The board has a different order to the pins plus the toe switch function. But otherwise it's the same. I would have just taken the phototransistor from the new one to fix the old one before messing with the connector.
I never got around to trying the other transistors I ordered. Once I fixed it I stopped working on it.