how to switch network adapter when no internet detected windows 10

  4g, lan, networking, wifi, windows

i currently have two source of internet at home.

4g network (via wifi) and fiber optic(VIA LAN)

my LAN is not reliable its keeping on dying

how to set windows to switch from LAN to WIFI automatically when there is no internet connection detected in the LAN

Source: Windows Questions