Inclusion Criteria:  A participant will be eligible for inclusion in the study if the participant:  Has a newly diagnosed primary diagnosis of American Joint Committee of Cancer (AJCC) 8th Edition Stage IV esophageal or gastroesophageal adenocarcinoma, gastric adenocarcinoma, pancreatic/ampullary adenocarcinoma, intrahepatic cholangiocarcinoma, extrahepatic cholangiocarcinoma gallbladder adenocarcinoma, duodenal, and ampullary adenocarcinoma.  All participants must have confirmed histologic diagnosis of the primary tumor Excludes patients with bone and brain metastasis (See exclusion criteria) Has a primary tumor that must be locally resectable or can be treated definitively (see preferred intervention sequence). Primary tumors included are esophageal, gastric, duodenal, ampullary, pancreatic, cholangiocarcinoma, and gall bladder carcinoma. Primary tumors should be resectable or treatable with consolidative radiotherapy or ablative therapy such as microwave ablation or trans-arterial chemo/radioembolization (cholangiocarcinomas).  Has limited (2 sites) metastatic disease determined to be completely resectable or treatable with curative intention (see treatment algorithm) at the time of diagnosis (before induction chemotherapy). This includes:  Up to 5 pulmonary metastasis amenable to wedge resection (maximum of 3 wedge resections) or lobectomy (single lobectomy) or consolidative radiation/ablative therapy Up to 5 hepatic metastasis amenable to hepatectomy (segmentectomy, sectionectomy, sectorectomy, minor hepatectomy (not more than 3 segments), wedge resection requiring a minimum of 40% of liver parenchyma following resection based on future liver remnant or a combination of partial hepatectomy and microwave ablation or trans-arterial radioembolization (TARE). Lymphatic metastases that are resectable or intervenable (limited to only two non-regional sites). Resectable peritoneal disease with a PCI of <6 and the ability to obtain a CC0 cytoreduction. Distant metastasis must be limited to two of the above-mentioned sites (a-d). If both pulmonary and liver metastasis are present (a, b), then a total of 5 lesions will be considered oligometastatic. Patients with resected primary tumors can be included if they present with oligometastases at least six months after the completion of treatment of primary tumor with curative intent.  Has adequate organ function, as described below (Appendix 4); all screening laboratory tests should be performed within 30 days prior to the first study intervention.  Prior Therapy  Patients taking substrates, inhibitors, or inducers of Cytochrome P450 3A4 (CYP3A4) should be encouraged to switch to alternative drugs whenever possible, given the potential for drug-drug interactions.  Demographics  Is male or female, who is at least 18 years of age at the time of signing informed consent and less than 81 years of age at the time of signing informed consent.  Has an Eastern Cooperative Oncology Group (ECOG) performance status score 0-1 at the time of randomization.  Male Participants  A male participant must agree to use contraception (barrier birth control, abstinence) during the treatment period and for at least 95 days following completion, corresponding to time needed to eliminate any study intervention(s), and refrain from donating sperm during this period.  Female Participants  A female participant of childbearing age is eligible to participate if she is not pregnant, not breastfeeding, and agrees to use contraception (hormonal, barrier birth control, or abstinence) for at least 95 days following completion, corresponding to time needed to eliminate any study intervention(s). Should a woman become pregnant or suspect that she is pregnant while participating in this study, she should inform her treating physician immediately.  Informed Consent  The participant (or legally acceptable representative if applicable) provides written informed consent for the study. The participant may also provide consent for Future Biomedical Research (FBR). However, the participant may participate in the main study without participating in FBR.  Exclusion Criteria:  The participant must be excluded from the study if the participant:  Medical Conditions  Has a positive urine pregnancy test within 3 days prior to randomization or treatment. If the urine test is positive or cannot be confirmed as negative, a serum pregnancy test will be required.  Note: In the event that 3 days have elapsed between the screening pregnancy test and the first dose of study intervention, another pregnancy test (urine or serum) must be performed and must be negative for the participant to start receiving study medication.  Has hypoxia as defined by pulse oximeter reading <92% at rest or requires intermittent or chronic supplemental oxygen.  Has a known additional malignancy that is progressing or has required active treatment within the past three years.  Note: Participants with basal cell carcinoma of the skin, squamous cell carcinoma of the skin, or carcinoma in situ (e.g., breast carcinoma, cervical cancer in situ) that have undergone potentially curative therapy are not excluded.  Has known central nervous system (CNS) metastasis and/or carcinomatous meningitis. Has known osseous metastasis. Has clinically significant cardiac disease, including unstable angina, acute myocardial infarction within 6 months from treatment initiation, or New York Heart Association Class III or IV congestive heart failure. Medially controlled arrhythmia stable on medication is permitted. Has poorly controlled hypertension defined as SBP ≥150mmHg and/or DBP ≥90mmHg. Has moderate to severe hepatic impairment (Child-Pugh B or C). Has a known psychiatric condition such as schizophrenia, mania, delirium, or a substance abuse disorder that would interfere with the study-related procedures. Is unable to swallow orally administered medication or has a gastrointestinal disorder affecting absorption (severe dysphasia, bowel obstruction, malabsorption). Has known malignant pleural effusion or previous malignant effusion previously treated at the time of enrollment. Has histologic subtypes not included in the inclusion criteria (including esophageal squamous cell carcinoma, gastroenteropancreatic neuroendocrine tumors, hepatocellular carcinoma, etc.). Has ECOG performance status score 2 or greater. Has a primary tumor that is not amenable to treatment. Has weight loss ≥ 20% from diagnosis despite appropriate nutritional support. Has progressive disease following the first three months of chemotherapy.  Patients with detectable circulating tumor DNA (ctDNA) following three months of induction chemotherapy.  Prior/Concomitant Therapy  Has previously treated metastatic disease with surgery, radiation, or ablative procedures.  a. Patients can be enrolled if they have received systemic chemotherapy consistent with the trial protocol, and they meet all of the inclusion criteria and none of the remaining exclusion criteria.  Has had major surgery within 3 weeks prior to the first dose of the study intervention. Participants must have recovered from all surgery-related complications.  Has received a live vaccine within 30 days prior to the first dose of study drug. Examples of live vaccines include but are not limited to the following: measles, mumps, rubella, varicella/zoster (chickenpox), yellow fever, rabies, BCG, and typhoid vaccine. Seasonal influenza vaccine for injection are generally killed virus vaccines and are allowed; however, intranasal influenza vaccine (eg. FluMist®) are live attenuated vaccines and are not allowed.  Diagnostic Assessments  Has an active infection requiring systemic therapy Has known active TB/ COVID infection Has a diagnosis of immunodeficiency or is receiving chronic systemic steroid therapy (dosing exceeding 10mg daily of prednisone equivalent) or any other form of immunosuppressive therapy within 7 days prior to the first dose of the study intervention Has a known history of HIV infection  Has a known history of HBV (defined as HBsAg reactive) or known active HCV (defined as HCV RNA [qualitative] is detected) infection.  Note: Testing for HBV and HCV is only required if mandated by the local health authority.  Other Exclusions  Is pregnant or breastfeeding or expecting to conceive or father children within the projected duration of the study, starting with the screening visit through 95 days after the last study intervention. Inability to receive chemotherapy and/or surgery and/or radiotherapy and/or ablative procedures due to medical/insurance reasons. Has peritoneal metastases with a peritoneal carcinoma index (PCI) score of >6. Requires emergency surgery due to bleeding, perforation, or obstruction.