The G540 (essentially four G251s in a box) is limited to 3.5A (plus they're set via a resistor mounted in the DB9 connector, which can be fiddly to change).

Personally, I'd just go for the Nema 23. Worst case scenario is you loose a bit performance, but on a Z-axis, that's not likely to be a major problem.