I don't think you need a 4th axis to run the pump motor. It's not an axis, and it doesn't need a stepper, it just needs to go on and off at the right times. Use a regular motor and the spindle on-off function instead, and trigger it with M3/M5 commands through a relay.