Inclusion Criteria:
* All participant radiation target volumes must be reviewed by the Principal Investigator, Dr. Mark Bernard, before dosimetric planning begins, and final plans must be reviewed after planning is complete.
* Age ≥ 18 years.
* ECOG Performance Status 0 - 2 (see Appendix A).
* Life expectancy ≥ 6months (assessed via physician discretion)
* Histologically confirmed locally advanced or stage IV esophageal, gastroesophageal, and/or gastric carcinoma.
* NOTE: Regional nodal sites are not counted as metastatic disease sites. Regional nodal sites are defined as supraclavicular, mediastinal, peri-esophageal, peri-gastric, retroperitoneal, or para-aortic nodes above the renal vessels
* NOTE: All other nodal sites (i.e., not regional nodal) are considered metastatic sites
* Prior chemotherapy and/or radiation therapy is allowed; however, prior radiation involving the chest/thorax or abdomen is excluded per the following caveats:
* Prior chemotherapy or radiation must have concluded \> 21 days prior to the start of study treatment and does not fall into the exclusionary category.
Exception: study treatment can start within 2-3 days following gamma knife surgery (GKS) or whole brain radiation therapy (WBRT) as long as participant is not experiencing AEs related to GKS or WBRT.
* A 5-fraction stereotactic boost is allowed after 6-month follow-up to any residual sites of metastatic disease, but not to the primary. This can be done at the discretion of the principal investigator alone.
* Participants on the trial must be receiving first-line immune checkpoint inhibitor-based treatment for stage IV esophageal, gastroesophageal, or gastric cancers
* After Radiation plans are complete, the OAR will have to be below the organ tolerance defined by section 6.1.6
* Prior participation in other clinical trials is permitted provided that it does not interfere with the study eligibility criteria mentioned in this section.
* Adequate organ and bone marrow function prior to study treatment as defined by: Thresholds for lab values prior to initiation of study treatment Absolute neutrophil count \> 1,500/mm3 Platelets \> 100,000/mm3 Total bilirubin ≤ 1.5 x ULN If no hepatic metastasis \< 2.5 times x ULN AST and ALT, With hepatic metastasis ≤ 5 x ULN Creatinine ≤ 1.5 x ULN and/or CrCl \> 30ml/min (calculated according to the Cockcroft-Gault formula, see Appendix B)
* No previous or concurrent malignancy is allowed except for adequately treated basal cell or squamous cell skin cancer, in situ cervical cancer, or other cancer for which the participant has been disease-free for the past 3 years.
* Non-pregnant and non-nursing women are eligible. Women of childbearing potential must have a negative serum pregnancy test within 7 days prior to the start of treatment.
* Women of childbearing potential and men must agree to use adequate contraception (barrier method of birth control) prior to study entry, for the duration of study participation, and for the duration specified in the current prescribing information for the applicable immune checkpoint inhibitor (and not less than 3 months after the last dose)
Exclusion Criteria:
* Ineligible to receive the selected immune checkpoint inhibitor according to its current prescribing information. Common rule-outs for ICI administration include but are not limited to the following: uncontrolled immunologic disorders, active hepatitis, active colitis, active pneumonitis, uncontrolled/active hormone gland problems (including thyroid, pituitary, adrenal glands and pancreas).
* Medically ineligible for cytotoxic chemotherapy due to comorbidities when the selected treatment regimen includes chemotherapy
* Metastatic Sites ≥11 sites
* Active clinically serious infection \> CTCAE Grade 2.
* Presence of fistula in any organ
* Serious non-healing wound, ulcer or bone fracture.
* Participants whose radiation plans cannot achieve the OAR constraints listed in Section 6.1.6
* Major surgical procedure (including craniotomy and open brain biopsy) or significant traumatic injury within 14 days prior to registration or those participants who receive a non-CNS minor surgical procedures (e.g. core biopsy or fine needle aspiration) within 3 days prior to registration. There is no waiting period for central line placement. There is a 7-day window for recovery prior to registration for participants who underwent stereotactic biopsy of the brain.
* Participants may not have uncontrolled inter-current illness. This includes but is not limited to: ongoing or active infection; symptomatic congestive heart failure (NYHA class III or IV); unstable angina pectoris or new onset angina that began within the last 3 months; cardiac ventricular arrhythmias requiring anti-arrhythmic therapy; or thrombotic/embolic events such as cerebrovascular accident, including transient ischemic attacks within the past 6 months. Uncontrolled hypertension defined as systolic blood pressure \>150 mmHg or diastolic pressure \> 90 mmHg, despite optimal medical management. Known human immunodeficiency virus (HIV) infection or chronic Hepatitis B or C. Known Grade 3 or 4 neurotoxicity.