RouterBoard 750up ... I want to use this as a switch?

I purchased 2 routerboard 750up routers to use for a wireless network I am designing. I would like to use the routers as switches with POE enabled on the 2-5 ports. I have a pc that manages my wireless network so I have to use a switch and not router. Can anyone help explain how to setup the 750p to work as a switch and not a router if possible? Thank you in advance for any help you can provide? I am also open to other hardware options but I need the “passive Poe” because I am using ubiquiti radios.

Try this:

/interface ethernet
set 0 name=master
set 1,2,3,4 master-port=master