Inclusion Criteria:  Male or female participants ≥18 years of age at the time of informed consent.  Dose Escalation Phase:  Participants must have a histologically confirmed diagnosis of an advanced or metastatic solid tumor with a documented RAS or RAF mutation.  Progressed despite standard therapies, and received at least 1 prior line of anticancer therapy.  Participants with a documented mutation in BRAF V600E or V600K must have received approved treatments known to provide clinical benefit prior to study entry.  Dose Expansion Phase:  Cohort 1: Pancreatic Ductal Adenocarcinoma.  Histologically confirmed PDAC with a documented mutation in KRAS or BRAF. Received at least 1 prior line but no more than 3 prior lines of systemic therapy in the advanced or metastatic setting.  Cohort 2: Non-Small Cell Lung Cancer  Histologically confirmed NSCLC with a documented mutation in KRAS, NRAS, or BRAF. Received at least 2 prior lines but no more than 4 prior lines of systemic therapy in the advanced or metastatic setting.  Cohort 3: Colorectal Cancer  Histologically confirmed CRC with a documented mutation in KRAS, NRAS, or BRAF. Received at least 2 prior lines of systemic therapy in the advanced or metastatic setting.  Cohort 4: Melanoma  Histologically confirmed melanoma with a documented mutation in NRAS or BRAF. Received at least 2 prior lines but no more than 4 prior lines of systemic therapy in the advanced or metastatic setting. Must be able to provide tumor tissue sample Eastern Cooperative Oncology Group (ECOG) score of 0 to 2 at Screening Adequate organ function and bone marrow function. If a female of childbearing potential must have a negative pregnancy test prior to enrollment and agree to follow the contraception requirements. Male participants must agree to follow contraception requirements. Must provide signed consent to participate in the study and is willing to comply with study-specific procedures.  Exclusion Criteria:  Received prior anticancer therapy, including investigational therapy within 2 weeks or 5 × the half-life (whichever is shorter) prior to the first dose of study drug. Have not recovered from all toxicities from prior therapy according to National Cancer Institute Common Terminology Criteria for Adverse Events (NCI CTCAE). Symptomatic central nervous system (CNS) metastases or presence of leptomeningeal disease Note: A participant with previously treated brain metastases may participate provided that they are stable. New York Heart Association Class III or IV heart disease, active ischemia, or any other uncontrolled cardiac condition such as angina pectoris, clinically significant cardiac arrhythmia requiring therapy, uncontrolled hypertension, congestive heart failure, or myocardial infarction within 6 months prior to the first dose of study drug. Prolongation of the QT interval corrected by Fridericia's formula (QTcF) based on repeated demonstration of QTcF >450 ms in males or >470 ms in females at screening, or history of long QT syndrome. Left ventricular ejection fraction (LVEF) <50% at Screening Systemic arterial thrombotic or embolic events Systemic venous thrombotic events A history or current evidence/risk of retinal vein occlusion (RVO) or central serous retinopathy including uncontrolled glaucoma or ocular hypertension, uncontrolled hypertension, uncontrolled diabetes mellitus, or a history of hyperviscosity or hypercoagulability syndromes. Concurrent neuromuscular disorder that is associated with the potential of elevated creatine kinase. Bone disease that requires treatment. Major surgery within 4 weeks of the first dose of study drug. All surgical wounds must be healed and free of infection or dehiscence before the first dose of the study drug. Any other clinically significant comorbidities. For participants receiving DCC-3116 and trametinib combination: previous treatment with trametinib that resulted in treatment discontinuation due to intolerability as a result of an adverse event (AE) that was considered related to trametinib. Known allergy or hypersensitivity to any component of the investigational drug product. Known human immunodeficiency virus or hepatitis C infection only if the participant is taking medications that are excluded per protocol, active hepatitis B, or active hepatitis C infection. If female, the participant is pregnant or lactating. Ongoing or prior participation in an investigational drug study within 30 days of screening.