Is there a size requirement that makes you want to use 4 motors instead of just 3?
I assume you have a driver for X Y and extruder, leaving only 3 for Z. Perhaps it would make sense to add a toolboard for the extruder, freeing up a driver for the 4th Z.
If you really want to stick with two motors on a single driver, see here for wiring them in series to a single driver.
https://docs.duet3d.com/en/User_manual/Connecting_hardware/Motors_connecting#duet-3