Switching Between PC and Console on the same gaming monitor.

Solution
Yes, you will be able to do that. You will have to connect one of them with an HDMI and the other with a DisplayPort connector. Then, you can just change the input from one to the other in the monitor's menu. Take a look: https://imgur.com/a/stYLAei
This picture is from your monitor's manual.