The quote below is a section from the Zombies Abilities guide explaining the functionality of every obtainable zombies ability.
To swap which Sentry type you place down (assuming you’re on PC), press the W key, followed shortly by the S key.
This scrolls through all possible options.
Press S twice quickly once you’ve found whichever sentry you wish to place.