I just did this fix a week ago. I used the exact same magnets that you used however I used this Hall sensor: Honeywell Hall Effect Sensor
Make sure the hall sensor is a 95a and is linear. (I have no idea what 95a means it was just what other people told me to buy for the T16000 Z axis) I think the ones you picked out are just on/off switches. The linear ones give a sliding value as they sense the magnetic field.
You can buy the 95a hall sensor on a bunch of other sites for cheaper but the shipping time is miserable. Good luck.