In Roblox Studio, it is a one-line job: open the Teams service, select the team, and change its Name property in the properties panel. That is the proper way, and it works in-game immediately.
If you would rather do it from code:
game.Teams.ORIGINALTEAMNAME.Name = "WHATEVERYOUWANT"
Replace ORIGINALTEAMNAME with the team's current name. One catch: the new name cannot contain a space — that script will fail if you try.
Editing a live game you do not own is not an option; the Studio route is the only legitimate one for your own places.