So I tested connection with the PS4 with the pc still connected with the ethernet cable (pc was off), and the ps4 still didnt connect to the internet.
I unplugged the ethernet cable from the switch to the pc and the ps4 was able to connect to the internet. (only thing connected)
I left the ps4 on and connected to the internet, then i plugged in my pc to the switch and now they both dont have internet.
(do you think this might be happening because Im connecting the switch directly into the ethernet wall port as i am in university with no router) im u dont think theres a solution, ill just contact IT support. thanks for trying!