How should I mount relays in junction boxes?
I would use a 6x6x4 junction box and mount the relay to the back with Tek (drill point) screws. This should give you plenty of room for wiring and terminations.