Rockstar Support responds to GTA Online bans on PlayStation 5 and Xbox Series X/S
Some GTA Online players received a ban after switching to the game from GTA 5 story mode. The developers finally added this issue to their FAQ page and reported that players were not permanently banned.
Some players have solved the problem on their own. The ban is probably related to the IP address. The problem can be solved by changing your router settings.