I have two of these in my setup:
ViewHD 5 Port HDMI 2.0 5x1 Switch... https://www.amazon.com/dp/B07J6GJ448?ref=ppx_pop_mob_ap_share
Works great for older consoles and you can daisy chain them if needed. There is also a project to turn a bunch of them into a 25 port switch with a touchscreen controller https://www.retrorgb.com/open-source-25-port-hdmi-switch-project.html
If you have an HDMI 2.1 compatible TV there aren’t any 2.1 compatible switches (not splitter that is the opposite device from what you need) that I am aware of except high end stuff in the pro av market like Crestron and you probably don’t want to pay a few grand for one of those.