Umbrel internet connection switch between LAN & Wifi

Hello, Is it possible for umbrel (raspi 4) to switch internet connection automatically between LAN (router 1) to wifi (router 2) if internet connection in router 1 offline?

you better use a WAN balancer between those 2 internet connections. Usually different routers have different LANs and DNS and specific DHCP rules etc.
A WAN balancer is much easier and much better to deal with 2 different connections that usually have troubles.
In this way all the rest of your devices in LAN will not even detect the switch.

thank you, consider to apply WAN balancer.