Help with adjustable routing

If i want to periodically connect to the Internet with a 4G/LTE modem but am normally connected via a gateway on my LAN how would I adjust my routing to cover both cases?

ie is it possible to automatically change the routing by inserting or ejecting the modem?

It should be possible: