A load balancing router could do this i bet, but there are not many of them around any more. You should look to a x86 based router software that can do this, like pfsence.
Understand that NOTHING you do will provider INSTANT fail over. You will have a few seconds of downtime if not a little more. And since your switching IP's also if your on like a VOIP phone call it will most likely drop.