This is more likely a situation where Roku doesn't support whatever Wi-fi security protocol (i.e. WPA 3) that T-Mobile is using. If that is the issue, there may be workarounds.
5G is simply the RF frequency and modulation scheme used on the Internet side of the T-Mobile gateway, not something...