Welcome to the forums @"Érick santos"!
OS.window_fullscreen is the property for making Godot full screen or not. You can use code like this to make a TextureButton node toggle full screen on press:
extends TextureButton
func _ready():
connect("pressed", self, "on_button_press")
func on_button_press():
OS.window_fullscreen = !OS.window_fullscreen