Configuring ADSL/3G/4G connectivity with Failover and Fallback capability

Hello All,

I have one requirement in which, i have 3 connections one ADSL and two 4G dongle (Jio/Airtel).
Where i need to configure ADSL and 4G connections, which i have configured and able to connect internet throught them,
Now i need to create set-up for failover and fall back between them, First priority is ADSL if it's goes down then
automatically switch over to 4G connection and automatically fallback when ADSL connection comes back.

Thanks And Regards,
Amritendu
India