It’s most likely 1/2" NPT, since most carb-mounted fuel shut-off valves use tapered threads for sealing. However, to be sure, you could measure the thread diameter and pitch with a gauge or check the carb model’s spec sheet. Did you already check if it has a slight taper (NPT) or straight thread...