To evaluate the efficacy of naporafenib administered with trametinib in patients with rat sarcoma viral oncogene (RAS) Q61X solid tumors * To evaluate the safety and tolerability of naporafenib administered with trametinib in patients with RAS Q61X solid tumors * To characterize the pharmacokinetic (PK) profile of naporafenib and trametinib when administered to patients with RAS Q61X solid tumors