The GNAQ gene mutation is often associated with uveal melanoma and Sturge-Weber syndrome, where it leads to abnormal cell signaling due to its role in encoding a G protein subunit. This mutation results in the constitutive activation of the G protein pathway, contributing to tumorigenesis and vascular malformations.