If 5G failover to 2.4G, it is generally because of 5G has short distance and your devices failover to 2.4G.

If 2.4G has problems, first thing to check is that you have USB3.0 devices connected to the router. USB3.0 has great interference with 2.4G wifi.