Figured it out by reading the answer on Reddit. Reboot your modem and router. Just that simple, but the only thing i hadn’t tried.
if you want to confirm this solution before actually doing it, try connecting the Roku to another network (like the hotspot on your phone) and see if YouTube works. If it does, then do what I said.