It depends on how the relay is being switched.? If the controller is switching the relay then the momentery button is just toggling an INPUT on the controller which then in turns toggles the OUTPUT which turns the relay on/off.

If you are wanting to control a relay independant of the controller then this is different and will require a latching circuit or relay.