Prior treatment with anti-PD-1 or anti-PD-L1 therapeutic antibody, or pathway-targeting agents\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (NCI Common Terminology Criteria for Adverse Events [CTCAE] grade 3 and 4)Xx_NEWLINE_xXPatients should be excluded if they have had prior treatment with an anti-programmed cell death protein 1 (PD-1), anti-programmed cell death ligand 1 (PD-L1), anti-PD-L2, anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXParticipants should be excluded if they have had prior treatment with an anti-PD-1, anti-programmed cell death ligand 1 (PD-L1), anti-programmed cell death ligand 2 (PD-L2), anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathways; prior immune modulating therapy including vaccines may be eligible; prior immune events must be evaluated and the risk for new events which may represent continued sub clinical disease or a new process at previously damaged site or immune potentiation (e.g. ipilimumab followed by IL2 causing bowel perforation, ipilimumab followed by indoleamine 2,3-dioxygenase [IDO] inhibitor resulting in clinical hypophysitis); please keep in mind that inflammatory events may occur weeks to months following the last dose of ipilimumab and possibly nivolumab; assessment of potential effects of prior therapy should include:\r\n* Immune status\r\n* Organ damage\r\n* Risk of autoimmunity\r\n* ImmunopotentiationXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways); examples include nivolumab, MPDL3280, etcXx_NEWLINE_xXPrior treatment with cluster of differentiation (CD)137 agonists, anti-cytotoxic T-lymphocyte-associated protein-4 (anti-CTLA-4), anti-programmed death-1 (anti-PD?1), or anti-programmed death-ligand 1 (anti-PD-L1) therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXNo prior treatment with an immune checkpoint inhibitor (anti-programmed cell death [PD]-1, anti-PD-L1, anti-cytotoxic T-lymphocyte-associated protein 4 [CTLA4] monoclonal antibody)Xx_NEWLINE_xXNo prior therapy with ipilimumab or nivolumab, or any agent targeting programmed cell death 1 (PD-1), PD-L1 or cytotoxic T-lymphocyte-associated protein 4 (CTLA-4)Xx_NEWLINE_xXNo prior systemic treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathways;Xx_NEWLINE_xXPatients with prior treatment with anti-programmed cell death (PD)-1, anti- programmed cell death ligand (PD-L)1 or anti-cytotoxic T-lymphocyte-associated protein (CTLA)-4 therapeutic antibody or other similar agentsXx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agents; patients who have received prior treatment with anti-CTLA-4 may be enrolled provided the following requirements are met:\r\n* Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose to randomization\r\n* No history of severe immune-related adverse effects (CTCAE Grade 3 and 4) from anti-CTLA-4Xx_NEWLINE_xXNo concurrent or prior systemic or local anti-cancer therapy for RCC is permitted; examples of these prohibited therapies include:\r\n* Radical or partial nephrectomy for prior RCC\r\n* Metastectomy for RCC\r\n* Radiation therapy to the renal bed or any distant metastatic sites\r\n* Antineoplastic systemic therapies for RCC: i.e., chemotherapy, hormonal therapy, immunotherapy, or standard or investigational agents for treatment of RCC\r\n* Prior treatment with an anti-programmed cell death 1 (PD-1), anti-programmed cell death-ligand 1 (PD-L1), anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte protein 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXWhile prior therapy with nivolumab, pembrolizumab, or atezolizumab is allowed, any prior therapy with other anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) is not allowedXx_NEWLINE_xXPrior treatment with immune checkpoint inhibitors (eg, anti-CTLA-4, anti-PD-1, anti-PD-L1, and any other antibody or drug specifically targeting T-cell co-stimulation) or an IDO inhibitor (exception is tumor types in which a PD-1 pathway targeted agent is approved, e.g. melanoma, non-small cell lung cancer.)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed death 1 (anti-PD-1), anti-programmed death ligand 1 (anti-PD-L1), anti-programmed death ligand 2 (anti-PD-L2), anti-cluster of differentiation 137 (anti-CD137), or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXSubjects who have received prior therapy with any T cell co-stimulation or checkpoint pathways such as anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4, anti-CD137; or other medicines specifically targeting T cells are prohibited. Prior IL-2 is permitted.Xx_NEWLINE_xXPrior treatment with cluster of differentiation 137 (CD137) agonist or immune checkpoint blockade therapies, anti-programmed-death-1 (anti-PD-1), and anti-PD-L1 therapeutic antibodyXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, or anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXHas received pembrolizumab, or prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody as part of any previous therapy, including trialsXx_NEWLINE_xXHas received prior therapy with an anti-programmed death protein-1 (anti-PD-1), anti-programmed death-ligand 1 (anti-PD-L1), or anti-PD-L2 agent or with an agent directed to another stimulatory or co-inhibitory T cell receptor (eg, cytotoxic T-lymphocyte associated protein 4 [CTLA-4], Tumor necrosis factor receptor superfamily, member 4 [OX-40], tumor necrosis factor receptor superfamily member 9 [CD137]).Xx_NEWLINE_xXSubjects previously treated with T cell immune-modulating antibodies, including anti-CTLA-4, anti-PD-1 and/or anti-PD-L1 agentsXx_NEWLINE_xXPatients must not have received prior immuno-oncology regimens, including but not limited to inhibitors such as anti PD-1, anti-PD-L1, anti-PD-L2, anti CD137, or anti CTLA-4 (cytotoxic T lymphocyte-associated protein 4) antibody, or any other antibody or drug specifically targeting T cell co stimulation or checkpoint pathways, indoleamine 2,3-dioxygenase pathway inhibitors, cancer vaccines, adoptive cell therapies, or other cytokine therapies.Xx_NEWLINE_xXHave received any previous systemic therapy (including investigational agents) targeting PD-1/programmed cell death ligand 1 (PDL-1) or PD-1/PDL-2 signaling pathways (including previous participation in Merck MK-3475 trials). Prior treatment with olaratumab is allowed. Prior therapy with other immune checkpoint inhibitors, including but not limited to, anti-CD137 antibody or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody, is not permitted.Xx_NEWLINE_xXPrior therapy with an anti-programmed cell death 1 (PD-1) or anti-PD-Ligand 1 agent, or with an agent directed to another co-inhibitory T-cell receptor or FGFR inhibitor.Xx_NEWLINE_xXPatients should be excluded if they have had prior systemic treatment with an anti-CTLA4 antibody and anti-PD1/PDL1 antibody; prior treatment with single agent anti-CTLA4, anti-PD1 or anti-PDL1 antibody is allowedXx_NEWLINE_xXThere is no limit to the number of lines of prior therapy; prior anti-programmed cell death (PD)-1 or anti-PD-ligand (L)1 therapy and other immunotherapies are allowedXx_NEWLINE_xXSAFETY RUN-IN: Prior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death 1 ligand (PDL-1), anti-PD-L2, anti-cluster of differentiation 137 (CD137) antibody, or anti-cytotoxic T-lymphocyte –associated antigen-4 (CTLA-4) antibodyXx_NEWLINE_xXRANDOMIZED PHASE II CLINICAL TRIAL: Prior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death 1 ligand (PDL-1), anti-PD-L2, anti-CD137 antibody, or anti-cytotoxic T-lymphocyte –associated antigen-4 (CTLA-4) antibodyXx_NEWLINE_xXHas received previous treatment with an immunomodulatory therapy (e.g. anti-programmed cell death-1/anti-programmed cell death-ligand 1 [anti-PD-1/anti-PD-L1] or cytotoxic T-lymphocyte-associated protein 4 [CTLA 4] agent) and was discontinued from that therapy due to a Grade 3 or higher irAE.Xx_NEWLINE_xXPrior treatment with PV-10 or any anti-PD-1 antibodyXx_NEWLINE_xXPatients that have had prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathways are eligible, unless they discontinued such therapy due to toxicityXx_NEWLINE_xXParticipants who have had prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior therapy with any anti-PD-1, anti-PD-L1, L2, anti-4-1BB (CD137), or anti-CTLA 4 therapy.Xx_NEWLINE_xXHas received prior therapy with an anti-Programmed Cell Death Protein 1 (PD-1), anti-Programmed Cell Death-Ligand 1 (PD-L1), anti-Programmed Cell Death-Ligand 2 (PD-L2) agent or with an agent directed to another stimulatory or co-inhibitory T-cell receptor (eg, CTLA-4, OX-40, CD137)Xx_NEWLINE_xXSubject who has been treated with immunotherapy; this includes prior treatment with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXPHASE II EXCLUSION CRITERIA: Prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agents\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] grade 3 and 4)Xx_NEWLINE_xXHas received prior therapy with an anti-Programmed Cell Death Receptor 1 (PD-1), Programmed Cell Death Receptor Ligand 1 (anti-PD-L1), or anti- Programmed Cell Death Receptor Ligand 2 (PD-L2) agent or with an agent directed to another stimulatory or co-inhibitory T-cell receptor (eg, cytotoxic T-lymphocyte-associated protein 4 [CTLA-4], OX-40, CD137)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or IDO1 inhibitor or any other antibody or drug specifically targeting checkpoint pathways other than anti-CTLA-4 which is permitted in the adjuvant setting.Xx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint-blockade therapies, including anti-CD40, anti-CTLA-4, anti-PD-1, and anti-PD-L1 therapeutic antibodies.Xx_NEWLINE_xXPrior treatment with any MEK inhibitor, an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways.Xx_NEWLINE_xXPrior treatment with T-cell co-stimulating or immune checkpoint blockade therapies, including anti?CTLA-4, anti?PD-1, and anti?PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior treatment with cluster of differentiation 137 (CD137) agonists or immune checkpoint-blockade therapies, including anti-cluster of differentiation 40 (anti-CD40), anti-cytotoxic T-lymphocyte-associated protein 4 (anti-CTLA-4), anti-programmed death-1 (anti-PD-1), and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXReceived prior therapy with an anti-PD-1, anti-PD-L1, or anti-CTLA-4 antibodyXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PDL-2, or anti-CTLA-4 antibody (or any other antibody targeting T cell co-regulatory pathways)Xx_NEWLINE_xXPrior treatment with cluster of differentiation 137 (CD137) agonists or immune checkpoint blockade therapies, including anti-CD40, anti-cytotoxic T-lymphocyte-associated protein 4 (anti-CTLA-4), anti-programmed death-1 (anti-PD-1), and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPreviously participated in any other pembrolizumab (MK-3475) study, or received prior therapy with an anti-programmed cell death (PD)-1, anti-PD-Ligand 1 (anti-PD-L1), anti-PD-L2, or any other immunomodulating mAb or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXPrior therapy with an anti-programmed cell death (PD)-1, anti-PD-ligand 1 (anti-PD-L1), anti-PD-L2 agent, or any agent directed to another stimulatory or inhibitory T-cell receptor (eg, cytotoxic lymphocyte associated protein-4 [CTLA-4], OX-40, CD137)Xx_NEWLINE_xXTreatment with an investigational agent within 4 weeks of starting study treatment or prior treatment with a checkpoint inhibitor (cytotoxic T-lymphocyte-associated protein 4 (CTLA-4), programmed cell death protein 1 (PD-1) or programmed death ligand 1 (PD-L1) antibodies).Xx_NEWLINE_xXPrior treatment with any anti-PD-1 blocking therapies or histone deacetylase inhibitors (HDACi), or anti-CTLA-4 antibody, CD137 agonist or other immune activating therapy such as anti-CD 40 antibody within the last 3 months of enrollment in the studyXx_NEWLINE_xXPrior treatment with anti?cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) therapeutic agents (e.g. ipilimumab)Xx_NEWLINE_xXHas had prior treatment with an anti-Programmed-cell death receptor-1 (PD-1) antibody, anti-the ligand to programmed-cell death 1 (PD-L1) antibody or anti-the ligand to programmed-cell death 2 (PD-L2) antibodyXx_NEWLINE_xXPrior treatment with clusters of differentiation (CD) 137 (CD137) agonists or immune checkpoint blockage therapies, anti-programmed death protein-1, anti-program death-ligand 1, mitogen-activated protein kinase (MEK) inhibitorXx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathways)Xx_NEWLINE_xXPrior receipt of survivin based vaccines or immune checkpoint inhibitors (e.g. anti-CTLA-4, anti-PD-1, anti-PD-L1, or any other antibody or drug specifically targeting T cell co-stimulation) or an IDO inhibitorXx_NEWLINE_xXHad prior treatment with any other anti-programmed cell death 1 (anti-PD-1), or programmed cell death ligand 1 (PD-L1) or PD-L2 agent or an antibody or a small molecule targeting other immuno-regulatory receptors or mechanisms.Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed death (PD)-1, anti-programmed death ligand (PD-L)1, or anti-PD-L2 agentXx_NEWLINE_xXPrior treatment with a drug of the focal adhesion kinase (FAK) inhibitor class or with an anti-programmed cell death 1 (PD1), anti-programmed cell death ligand 1 (PDL1), anti- programmed cell death 1 ligand 2 (PDL2), anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte associated antigen 4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior anti-human antibody response (anti-heart antibodies [AHA] or anti-drug antibody [ADA])Xx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint blockade therapies, including anti CTLA-4, anti-PD1 and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPatients who have received previous therapy with an anti-CTLA4, anti-CD137, anti-PD-L1 or anti-PD-1 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXEXCLUSION CRITERIA FOR STRATUM C: Patients who have received previous therapy with an anti-CTLA4, anti-CD137, anti-PD-L1 or anti-PD-1 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with cluster of differentiation (CD) 137 (CD137) agonists or immune checkpoint blockade therapies, including anti-cytotoxic T-lymphocyte-associated protein 4 (anti-CTLA-4), anti-programmed death-1 (anti-PD-1), or anti-programmed death ligand-1 (anti-PD-L1) therapeutic antibodiesXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior VEGF targeted therapies for renal cell carcinoma (RCC) including adjuvant or neoadjuvant treatments; in phase 1 only, one prior therapy with high dose IL-2 or anti-programmed cell death (PD)-1 compound alone or in combination with cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) targeting drug is allowed on the trialXx_NEWLINE_xXPatients that have undergone treatment with anti-CTLA-4 (Cytotoxic T-Lymphocyte Antigen 4) antibody must have at least 3 months from last dose of CTLA-4 antibody before they can be enrolled into this studyXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) for metastatic breast cancer-or- if patient has had prior immune-oncology therapies in the neoadjuvant or adjuvant setting within the past 12 months.Xx_NEWLINE_xXPrior therapy for melanoma with the following exceptions which are allowed: 1) surgery for the melanoma lesion(s), 2) adjuvant RT after neurosurgical resection for CNS lesions, and 3) prior adjuvant IFN (see qualifier below); specifically, patients who received prior therapy with anti-PD-1, anti-PD-L1, anti-programmed death ligand-2 (PD-L2), anti-clusters of differentiation (CD)137, or anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathways) are not eligible\r\n* Prior treatment with adjuvant IFN is allowed if completed >= 3 months prior to treatment, and adjuvant ipilimumab if >= 6 months prior to treatmentXx_NEWLINE_xXHave received an anti-PD1 or anti PDL1 monoclonal antibodyXx_NEWLINE_xXHas received prior therapy with an anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrevious systemic exposure to anti-CTLA-4 antibody or anti-PD1 antibodyXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137 or anti CTLA-4 antibody or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior therapy with any antibody / drug targeting T cell coregulatory proteins (immune checkpoints) such as anti-PD-1, anti-PD-L1, or anti-CTLA-4 antibodyXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior exposure to investigational immunotherapies, including anti-CTLA4, anti-OX40, anti-CD40, anti-CD27, anti-TNFR antibodies or other investigational immunotherapies, is acceptableXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-Programmed Death (PD)-1, anti-Programmed Death-Ligand 1 (PD-L1), or anti-PD-L2 agent or with an agent directed to another co-inhibitory T-cell receptor or has previously participated in a Merck pembrolizumab (MK-3475) clinical studyXx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody (or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) is not permittedXx_NEWLINE_xXMEDICATION-RELATED: Prior history of treatment with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, anti-CTLA4 or any other antibodies targeting co-stimulation or checkpoint pathways.Xx_NEWLINE_xXImmune-checkpoint inhibitors (e.g., anti-PD-1, anti-PD-L1, or anti-CTLA-4), monoclonal antibodies, antibody-drug conjugates, radioimmunoconjugates, or T-cell or other cell-based therapies: 4 weeks (2 weeks with documented disease progression).Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (anti-PD-1), anti-programmed cell death-ligand 1 (anti-PD-L1), or anti-PD-L2 agent or with an agent directed to another co-inhibitory T-cell receptor (i.e., cytotoxic T-lymphocyte-associated protein 4 [CTLA-4], OX-40, CD137 [tumor necrosis factor receptor superfamily member 9 (TNFRSF9)]) or has previously participated in a Merck pembrolizumab (MK-3475) clinical trial.Xx_NEWLINE_xXNo prior treatment with anti PD1, anti PD L1, anti CTLA 4 antibody or any other antibody or drugs targeting T cell costimulation or checkpoint pathways, or cetuximab or EGFR inhibitors in any treatment setting.Xx_NEWLINE_xXPrior treatment with anti-PD1 or anti-PD-L1 antibody therapyXx_NEWLINE_xXAny prior therapy with anti-PD-1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXARM I INCLUSION CRITERIA: Subjects are currently on checkpoint inhibitor (anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody, or antibodies to tumor necrosis factor family including OX40) or tumor vaccine for systemic disease who develop new brain metastases, must have documented stable systemic disease within 30 days of signing consentXx_NEWLINE_xXARM I INCLUSION CRITERIA: Subjects who have completed prior checkpoint inhibitor (anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody, or antibodies to tumor necrosis factor family including OX40) or tumor vaccine for systemic disease but are now off therapy with documented stable systemic disease within 30 days of signing consent may be enrolled after discussion with the Merck & Co clinical teamXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti PD-L1, anti-PD-L2, anti-CD137 antibody, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) agentsXx_NEWLINE_xXAny prior therapy with anti-PD-1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior therapy with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway targeting agents.\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose.\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] grade 3 and 4).Xx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T cell costimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including pembrolizumab, ipilimumab, and any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXTreatment with any anti-CD19 or anti-CD20 antibody or antibody-drug conjugate therapy within 4 weeks of enrollmentXx_NEWLINE_xXNo prior treatment with cancer immunotherapy including, but not limited to, other anti-CTLA-4, anti-PD-1, anti-PD-L1, and anti-programmed cell death ligand 2 anti- (PD-L2) antibodies, excluding therapeutic anticancer vaccinesXx_NEWLINE_xXPatients can be either naive for any previous systemic treatment or have had any number of prior systemic therapies. However, patients must not have received prior anticancer therapy with anti-PD1, anti-PD-L1, or anti-CTLA-4 immune checkpoint inhibitors.Xx_NEWLINE_xXPatients must not have received prior anticancer therapy with anti-PD1, anti-PD-L1, or anti- CTLA-4 immune checkpoint inhibitors.Xx_NEWLINE_xXPrior treatment with any other anti-programmed cell death protein-1 (anti-PD-1), or PD ligand-1 (PD-L1) or PD ligand-2 (PD-L2), anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathways, or cancer vaccineXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137 or anti CTLA-4 antibodyXx_NEWLINE_xXCurrent or prior anti-cancer treatment prior to the first dose of pembrolizumab as defined below:\r\n* Chemotherapy, targeted small molecule therapy, or other anti-cancer treatment not otherwise specified below within 2 weeks\r\n* Radiation therapy within 2 weeks\r\n* Anti-cancer monoclonal antibody (mAb) treatment within 4 weeks\r\n* Use of an investigational agent (e.g., biologic, drug, or other) within 4 weeks\r\n* Allogeneic stem cell transplant within 100 days\r\n* Prior therapy with an anti-PD-1, anti-PD-L1, or anti-PD-L2 agent at any timeXx_NEWLINE_xXPrior exposure to immune-mediated therapy, including but not limited to, other anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA 4), anti-PD1, anti –PD-L1, or anti-programmed death ligand 2 (PD-L2) antibodies, including therapeutic anticancer vaccines is NOT permittedXx_NEWLINE_xXPrior anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) is allowed in part 1 (phase 1b) and is required for phase 2 cohort B of the studyXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) for the immunotherapy-naive cohort onlyXx_NEWLINE_xXNo prior exposure to immune-mediated therapy including, but not limited to, other anti CTLA-4, anti-PD-1, anti-PD-L1, and anti-programmed cell death ligand 2 (anti-PD-L2) antibodies, including therapeutic anticancer vaccines; the exception to this is those whose tumors are microsatellite instable-high (MSI-hi) and are refractory to anti-PD1 monotherapyXx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway targeting agents; but patients who have received prior treatment with anti·CTLA-4 may be enrolled, provided the following requirements are met: (1) minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose; (2) no history of severe immune-related adverse effects from anti-CTLA 4 (National Cancer Institute [NCI] Common Terminology for Cancer Adverse Effects CTCAE] grade 3 and 4)Xx_NEWLINE_xX(Atezolizumab-related exclusion) Prior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway targeting agents a) Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met: Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose. No history of severe immune-related adverse effects from anti-CTLA 4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] Grade 3 and 4)Xx_NEWLINE_xXPrior checkpoint inhibitor therapy including anti-PD1, anti-PD-L1, anti-CTLA4, anti- CD137, or anti-PD-L2 therapyXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1 or anti-CTLA-4 antibodyXx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint blockade therapies, including anti?CTLA-4, anti?PD-1, and anti?PD-L1 therapeutic antibodies\r\n* Prior cancer vaccines and cellular immunotherapy are permittedXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXPrior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death 1 ligand (PDL-1), anti-PD-L2, anti-CD137 antibody, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibodyXx_NEWLINE_xXAny prior grade >= 3 immune-related adverse event (irAE) while receiving any previous immunotherapy agent, or any unresolved irAE > grade 1, including anti-PD-1, anti-PD-L1, anti-CD137, anti-CTLA-4 antibody or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways, except for endocrinopathies and asymptomatic amylase/lipaseXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXPatients who have had prior treatment with an anti-PD1, anti-PDL1, anti-PDL2, anti-CTLA4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathways are not eligibleXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cytotoxic T-lymphocyte-associated protein 4 (anti-CTLA-4) antibody, anti-CD137, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXColorectal patients are excluded if they have had prior systemic treatment with an anti-CTLA4, anti-PD1 or PDL1 antibody; pancreatic patients are excluded if they have previously received anti-CTLA-4 therapy; prior PD-1 or PDL1 therapy will be permitted for pancreas patientsXx_NEWLINE_xXPrior treatment with an anti-CD137, or OX40 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways except anti-PD1, anti-PDL1/2 antibodies or ipilimumabXx_NEWLINE_xXProgression while on prior therapy with an anti-programmed cell death (PD)-1, anti-PD-L1, anti-PD-L2, anti-tumor necrosis factor CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, or anti-PD-L2 agent; anti-CD137 or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways; prior treatment with HD IL-2 is allowedXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, or anti cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xX* Patients should be excluded if they have had prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway targeting agents\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose\r\n** No history of severe immune-related adverse effects from anti-CTLA 4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] grade 3 and 4)Xx_NEWLINE_xXPrevious or current treatment with an anti-cytotoxic T-lymphocyte antigen 4 (CTLA-4), anti-programmed death (PD)-1, anti-PD ligand (PD-L)1, or anti-PD-L2 agentXx_NEWLINE_xXPrior therapy with atezolizumab or other immunotherapies including CD137 agonists, anti-programmed death (PD)-1, anti-cytotoxic T-lymphocyte associated protein 4 (CTLA-4), and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPatients with a history of prior treatment with ipilimumab, anti-programmed cell death protein 1 (PD 1) antibody, or cluster of differentiation (CD)137 agonist therapy are ineligible for the ipilimumab arm, but are eligible for the nivolumab armXx_NEWLINE_xXPatients should be excluded if they have had prior treatment with anti-CTLA-4 antibody or any other antibody or drug specifically targeting T-cell co-stimulation; previous treatment with anti-PD-1, anti-PD-L1 or anti-PD-L2 is allowed and patients will be enrolled in the exploratory cohort (arm C) at the time of progression from last line of treatment (treatment with immune check point inhibitor does not have to necessary be the last line of treatment)Xx_NEWLINE_xXPrior history of receiving immune modulators including, but not limited to, anti-CTLA4, anti-PD1, anti-PD-L1Xx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXTumor progression or recurrence during or after treatment with anti-PD1, anti-PDL1, anti-PDL2, anti-CTLA4, or other immune checkpoint inhibitor where the most recent dose was given within 3 months prior to study registrationXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti- Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPatients must not have received prior anticancer therapy with any immune checkpoint inhibitors such as anti-CLTA-4, anti-PD1, or anti-PD-L1Xx_NEWLINE_xXPrior therapy with antibody or drug specifically targeting T cell regulatory proteins, including but not limited to: prior immunotherapy with IL-2 or IFN-alpha, or an anti-PD-1 (including nivolumab), anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte associated antigen-4 (CTLA-4) antibody (including ipilimumab), or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways).Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti- programmed cell death 1 ligand (PD-L)1, or anti-PD-L2 agentXx_NEWLINE_xXNo prior immune checkpoint inhibitors (e.g., anti-CTLA4, anti-PD-1 or anti-PDL1 are allowedXx_NEWLINE_xXPatients with ongoing toxicities related to prior therapies targeting T cell coregulatory proteins (immune checkpoints) such as anti-PD-1, anti-PD-L1, or anti-CTLA-4 antibody are excludedXx_NEWLINE_xXPatients who have had prior exposure to immune checkpoint inhibitors are not eligible; please contact principal investigator, William Gradishar at 312-695-4541 for specific questions on potential interactions\r\n* PD-1 monoclonal antibody: pembrolizumab, pidilizumab, MEDI-0680, anti-PD-1 fusion protein AMP-224 (AMP-224), anti-PD-1 checkpoint inhibitor PF-06801591 (PF-06801591), anti-PD-1 monoclonal antibody BGB-A317 (BGB-A317), anti-PD-1 monoclonal antibody PDR001 (PDR001), anti-PD-1 monoclonal antibody REGN2810 (REGN2810), anti-PD-1 monoclonal antibody SHR-1210 (SHR-1210)\r\n* PD-L1 monoclonal antibody: durvalumab, avelumab, anti-PD-L1 monoclonal antibody MDX-1105 (MDX-1105), atezolizumab, zirconium Zr 89-labeled anti-PD-L1 monoclonal antibody MPDL3280A (MPDL3280A)\r\n* CTLA4 monoclonal antibody: tremelimumab, abatacept\r\n* OX40: agonistic anti-OX40 monoclonal antibody MEDI6383 (MEDI6383), agonistic anti-OX40 monoclonal antibody MEDI6469 (MEDI6469), anti-OX40 monoclonal antibody MEDI0562 (MEDI0562), oxelumab, anti-OX40 antibody PF-04518600 (PF-04518600)Xx_NEWLINE_xXPrior exposure to any anti-PD-1 or anti-PD-L1 antibody, or any anti-cytotoxic T-lymphocyte-associated protein (CTLA) 4 antibodiesXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (PD-1), anti-PD-L1, anti-programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation 137 (CD137), or anti-cytotoxic t-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways); has participated in another MK-3475 clinical trialXx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, anti-CTLA-4 antibody therapies, any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathwaysXx_NEWLINE_xXPatients who have received prior therapy with immune checkpoint inhibitors (e.g. anti-PD-1, anti-PD-L1, anti-LAG3, anti-CTLA-4) or immune costimulatory molecules (e.g. anti-CD137, anti-OX40, anti-GITR) directed agentsXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (PD-1), anti-programmed cell death ligand 1 (PD-L1), or anti-programmed cell death ligand 2 (PD-L2) agentXx_NEWLINE_xXHave no limits on prior lines of therapy or may be treatment-naive if in need of palliative RT provided the patient has not received prior anti-programmed cell death protein 1(PD-1), anti-programmed cell death 1 ligand 1 (PD-L1), or anti-programmed cell death 1 ligand 2 (PD-L2) therapyXx_NEWLINE_xXPatients must have no prior exposure to immune-mediated therapy, including anti- cytotoxic T-lymphocyte protein 4 (CTLA-4), anti-programmed cell death 1 (PD-1), anti–programmed cell death 1 ligand 1 (PD-L1), or anti–programmed cell death ligand 2 antibodies, excluding therapeutic anticancer vaccinesXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-programmed cell death 1 ligand (PD-L)1, or anti-PD-L2 agent (for Arm A only)Xx_NEWLINE_xXPrior therapy with anti-PD1, anti-PD-L1 or anti-cytotoxic T-lymphocyte protein (CTLA)-4 antibodyXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, or anti-CTLA-4 antibody (or any other antibody targeting T cell co-stimulation pathways)Xx_NEWLINE_xXPatients who received prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) are not eligibleXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, PD-L2, anti-CD137, or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with any anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXReceived prior therapy with an anti-programmed cell death 1 (PD-1), anti-PD-L1, anti-programmed cell death 1 ligand 2 (PD-L2), anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXNo ongoing anti-coagulation and/or anti-platelet therapies allowedXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (PD-1), anti-programmed cell death ligand 1 (PD-L1), or anti- programmed cell death ligand 2 (PD-L2) agentXx_NEWLINE_xXAny previous treatment with a programmed cell death protein 1 (PD1) or programmed cell death ligand 1 (PD-L1) inhibitor, including durvalumabXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXSubjects who have received prior immune checkpoint inhibitors (e.g., anti-programmed cell death protein 1 [PD-1], anti-PD-L1), anti-CD40Xx_NEWLINE_xXHas experienced grade 3-4 intracranial toxicity (hypophysitis or CNS toxicity) with either prior intracranial radiation, anti programmed cell death-1 (PD-1), or cytotoxic t-lymphocyte-associated protein 4 (CTLA-4) inhibitor therapyXx_NEWLINE_xXHas received prior therapy with an PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte associated antigen-4 antibody (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti-PD-ligand (L)1, or anti-PD-L2 agentXx_NEWLINE_xXPatients with a history of prior treatment with immunotherapy agents (including, but not limited to: interleukin [IL]-2, interferon, anti-PD-1, anti-PD-L1, anti-programmed cell death 1 ligand 2 [PD-L2], anti-cluster of differentiation [CD]137, anti-tumor necrosis factor receptor superfamily member 4 [OX-40], anti-CD40, or anti-cytotoxic t-lymphocyte-associated protein 4 [CTLA-4] antibodies)Xx_NEWLINE_xXPrior treatment with anti-cytotoxic T-lymphocyte antigen 4 (CTLA4), anti-programmed cell death protein 1 (PD-1), or anti-programmed death ligand 1 (PD-L1) (approved or investigational agent)Xx_NEWLINE_xXPatients should be excluded if they have had prior systemic treatment with an anti?programmed cell death protein 1 (PD?1), anti?PD?L1, anti?programmed cell death 1 ligand 2 (PD?L2), anti?cytotoxic T-lymphocyte-associated protein 4 (CTLA?4) antibody, or any other antibody or drug specifically targeting T?cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death-ligand 1 (PD-L1), or anti-programmed cell death-ligand 2 (PD-L2) agent; prior therapy with paclitaxel or docetaxelXx_NEWLINE_xXPatients who have had prior treatment with an anti-programmed cell death protein 1 (PD-1), anti-programmed death-ligand 1 (PD-L1), anti-programmed death-ligand 2 (PD-L2), anti-cytotoxic t-lymphocyte-associated protein 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXPHASE I: Patients who have previously received anti-cytotoxic T-lymphocyte antigen (CTLA)-4 antibody therapyXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-programmed cell death ligand 1 (PD-L1), anti-programmed cell death ligand 2 (PD-L2), anti-tumor necrosis factor receptor superfamily, member 9 (CD137), or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with immune therapy (including but not limited to cluster of differentiation [CD]137, OX40, programmed cell death [PD]-1, PD-L1 or cytotoxic T-lymphocyte antigen 4 [CTLA4] inhibitors)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death ligand 1 (PD-L1), anti-programmed cell death ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior exposure to immune-mediated therapy, including but not limited to, other anti cytotoxic T-lymphocyte-associated protein 4 (CTLA 4), anti-PD-1, anti-PD-L1, or anti-PD-L2 antibodies, including therapeutic anticancer vaccines. Prior local intervesical chemotherapy or immunotherapy is allowed if completed at least 28 days prior to the initiation of study treatment.Xx_NEWLINE_xXPrior immunotherapy with programmed cell death 1 (PD1) inhibitor (i), programmed cell death ligand 1 (PDL1)i, anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4) or vaccines is allowedXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-programmed cell death ligand 1 (PD-L1), anti- programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, anti-tumor necrosis factor receptor superfamily member 4 (OX-40), anti-CD40, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways); prior therapies with other immunomodulatory agents must be reviewed by the principal investigator (PI) and may be cause for ineligibilityXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death-1 (PD-1), anti-programmed cell death ligand (PD-L) 1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) or chimeric antigen receptor (CAR)-T cell therapy or with an agent directed to another stimulatory or co-inhibitory T-cell receptorXx_NEWLINE_xXPrior immunotherapy with IL-2, IFN-?, or anti PD 1, anti PD L1, anti PD L2, anti CD137, or anti cytotoxic T lymphocyte associated antigen 4 (CTLA 4) antibody (including ipilimumab), or any other antibody or drug specifically targeting T cell co stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior therapy with an anti-programmed cell death 1 (PD-1), anti-PD-ligand 2 (L2) agent, or with an agent directed to another co-inhibitory T-cell receptorXx_NEWLINE_xXPrior treatment with an anti-ErbB3 antibodyXx_NEWLINE_xXNo anti-cancer therapy (chemotherapy, biologic therapy, or immunotherapy) in the 3 weeks prior to the T cell infusion (and all hematologic effects have resolved); no prior immunotherapy with checkpoint blockade (i.e. anti-programmed cell death 1 [PD1] inhibitor, programmed cell death ligand 1 [PDL1] inhibitor or cytotoxic T-lymphocyte-associated protein 4 [CTL4] -antagonist or similar agent) in the 6 months prior to the T cell infusion (and all clinically significant related side-effects related must be resolved)Xx_NEWLINE_xXPrior immune checkpoint targeting drugs (e.g., anti-programmed cell death 1 [PD1], and programmed cell death ligand 1 [PDL1], anti-killer cell immunoglobulin-like receptors [kir], anti-cluster of differentiation [CD] 137...etc)Xx_NEWLINE_xXHas experienced a dose limiting toxicity on treatment with either prior radiation or anti programmed cell death 1 (PD-1) or programmed cell death 1 ligand 1 (PD-L1) inhibitor therapyXx_NEWLINE_xXSubject has received prior therapy with an anti-PD-1, anti-PD-ligand 1 (L1), anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) agents (including ipilimumab), interferon, high dose interleukin 1 (IL-1) or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) within 3 monthsXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death-1 (PD-1), anti-programmed cell death-ligand 1 (PD-L1), anti-programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation (CD)137Xx_NEWLINE_xXPrior treatment with a CD137 agonists, anti-CTLA4 (except melanoma), anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway targeting agentsXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (PD-1), anti-PD-L1, anti-programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-programmed cell death 1 ligand 1 (PD-L1), anti-PD-L2, anti-cluster of differentiation 137 (CD137), or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways); prior treatment with interferon alfa is allowed; patients with history of allergic or hypersensitivity reaction to interferon alfa are excludedXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXProgression of disease while on anti-programmed death-1 (anti-PD-1) or anti-programmed cell death 1 ligand 1 (anti-PD-L1) therapy for melanoma and non-small cell lung carcinoma (NSCLC) patientsXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PDL-2, or anti-CTLA-4 antibody (or any other antibody targeting T cell co-regulatory pathways)Xx_NEWLINE_xXPrior exposure to any anti-programmed cell death 1 (PD-1) or anti-programmed cell death ligand 1 (PD-L1) antibodyXx_NEWLINE_xXPatients with a history of prior treatment with anti-CTLA-4, anti-PD 1 antibody, or anti-PDL1 antibodyXx_NEWLINE_xXPatients receiving anti programmed cell death protein 1 (PD-1) immunotherapy such as pembrolizumab or nivolumab, or human cytotoxic T-lymphocyte antigen 4 blocking antibody such as ipilimumab should wait 8 weeks before Melphalan/HDS treatment.Xx_NEWLINE_xXPrior anti-programmed death receptor-1 (PD-1), anti-programmed death ligand-1 (PD-L1), or anti-programmed death ligand-2 (PD-L2) therapyXx_NEWLINE_xXHas had prior treatment with an anti-PD-1 or anti-PD-L1 antibody, anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab) or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways;Xx_NEWLINE_xXAny concurrent use of anti-infective, anti-fungal, or anti-viral agent (exceptions are to be approved by the sponsor)Xx_NEWLINE_xXPart 1: Has received prior therapy with cancer vaccines, or compounds targeting programmed cell death ligand 1 (PD-L1), PD-L2, cytotoxic T-lymphocyte-associated protein 4 (CTLA-4), or Mitogen-activated protein kinase (MAPK)/Extracellular signal-regulated Kinase (MEK).Xx_NEWLINE_xXAny number of prior therapies (including none). For subjects who have received prior systemic treatment with cytotoxic T-lymphocyte-associated protein 4 (CTLA-4), Programmed death 1 (PD-1) and/or Programmed death-ligand 1 (PD-L1) therapy, the last monoclonal antibody administration should be no less than 6 weeks prior to start of this protocol therapy and all prior side effects must have resolved to grade 1 or less by the time of the start of this protocol therapy.Xx_NEWLINE_xXPrior treatment with cluster of differentiation (CD) 137 agonists or immune checkpoint blockade therapies, or anti-programmed cell death-1 (PD-1) or anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior treatment with an anti-programmed death-1 (PD-1), anti-PD-L1, anti PD L2, anti-CD137, or anti-cytotoxic T lymphocyte antigen-4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co stimulation or checkpoint pathways.Xx_NEWLINE_xXPatients who have received prior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody, or pathway -targeting agents\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and >6 weeks from the last dose\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] grade 3 and 4)Xx_NEWLINE_xXPatients should be excluded if they have had prior treatment with a Pi3 kinase inhibitor, anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrevious treatment with a programmed death 1 (PD1), programmed death-ligand (PD-L1), or cytotoxicT-lymphocyte-associated protein 4 (CTLA-4) inhibitors, or any form of immunotherapy for HCC.Xx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint-blockade therapies, including anti-CD40, anti-CTLA-4, anti-PD-1, and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXORAL CAVITY SQUAMOUS CELL CARCINOMA COHORT: Prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXHPV-ASSOCIATED OROPHARYNX SQUAMOUS CELL CARCINOMA: Prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXReceived prior therapy with an anti-programmed cell death protein-1 (anti-PD-1), anti-programmed cell death-ligand 1 (anti-PD-L1), or anti-PD-L2 agent or with an agent directed to another stimulatory or co-inhibitory T-cell receptor (e.g. cytotoxic T-lymphocyte-associated protein-4 [CTLA-4], OX-40, CD137).Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway targeting agents. Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met: Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose. No history of severe immune-related adverse effects from anti-CTLA 4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] grade 3 and 4).Xx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agents\r\n* Note:\r\n** Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n*** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose\r\n*** No history of severe immune-related adverse effects from anti-CTLA-4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] grade 3 and 4)Xx_NEWLINE_xXPatients who have had prior exposure to immune-mediated therapy defined as prior exposure to T-cell and natural killer cell directed therapy (e.g. anti-PD-1, anti-PD-L1, anti-CD137, and anti-CTLA4, etc).Xx_NEWLINE_xXAny previous treatment with a hypomethylating agent, or with a PD1 or PD-L1 or anti-PD-L2 or anti-CTLA4 inhibitor, including durvalumab (or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathways); any immunomodulatory agent that is not described above should be cleared by the principal investigator (PI)Xx_NEWLINE_xXPatients that who have relapsed after at least 1 prior anti-lymphoma therapy that include anti-CD20 monoclonal antibody and an alkylator chemotherapy agent, or at least 2 prior anti-lymphoma therapies that include anti-CD20 monoclonal antibody, may be included.Xx_NEWLINE_xXAny non-oncology vaccine therapy used for the prevention of infectious disease within 1 month before or after any anti-programmed cell death protein 1 (PD1) monoclonal antibody (anti-PD-1) doseXx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agents\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (National Cancer Institute Common Terminology Criteria for Adverse Events [NCI CTCAE] grade 3 and 4)Xx_NEWLINE_xXPrior treatment with an anti-PD1, anti-PDL1, anti-PDL2, anti-CD137, or anti-CTLA4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXPrior treatment with cluster of differentiation (CD)137 agonists or immune checkpoint blockade therapies, including anti Cytotoxic T Lymphocyte-Associated 4 (CTLA4), anti-programmed death 1 (PD-1), and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior treatment with immune checkpoint blockade therapies (anti-cytotoxic T-lymphocyte-associated protein 4 [anti-CTLA-4], anti-programmed death-1 [anti-PD-1] or anti-PD-L1) or immune agonists (anti-cluster of differentiation [CD]137, anti-CD40, anti-OX40)Xx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agents\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (NCI CTCAE grade 3 and 4)Xx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPatients who have had prior treatment with anti-PD1 or anti-CTLA4 therapyXx_NEWLINE_xXPrior systemic therapy, including cytotoxic chemotherapy, biologic/targeted therapy, or immune therapy for the study cancer; note: prior cytotoxic chemotherapy or biologic/targeted therapy for a different cancer is allowable; however, a prior anti-programmed cell death (PD)-1, anti-PD-L1, or anti-programmed cell death 1 ligand 2 (PD-L2) agent is not permittedXx_NEWLINE_xXPrior treatment with immune checkpoint blockade therapies (anti-cytotoxic T-lymphocyte-associated protein 4 [CTLA-4], anti-programmed death-1 [PD-1] or anti-PD-L1) or immune agonists (anti-cluster of differentiation [CD] 137, anti-CD40, anti-OX40)Xx_NEWLINE_xXAny previous treatment with an anti-programmed cell death 1 (PD1) or PD-L1 inhibitor, including MEDI4736Xx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti- cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathways)Xx_NEWLINE_xXAny prior therapy with anti-PD-1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (PD-1), anti-programmed cell death ligand 1 (PD-L1), anti-programmed cell death ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-programmed death-ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPatients are excluded if they have had prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-ligand 2 (L2), anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death-1 (PD-1), anti-programmed death-ligand 1 (PD-L1), anti-programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation 137 (CD137), ziv-aflibercept or anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)(prior treatment with bevacizumab is not an exclusion criteria)Xx_NEWLINE_xXPrior therapy with anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody, anti programmed cell death 1 (PD-1), or an experimental immune system-targeted therapyXx_NEWLINE_xXPrior treatment with immune-modulatory agents including, but not limited to: interleukin (IL)-2, cytotoxic T-lymphocyte antigen 4 (CTLA)-4 blockade, programmed death (PD-1)-1/programmed death-ligand 1 (PD-L1) blockade, cluster of differentiation (CD)40 stimulation, CD137 stimulation with the exception of INF-alpha given as adjuvant treatment for high-risk, surgically resected melanomaXx_NEWLINE_xXPatients with a history of prior treatment with ipilimumab, anti-programmed cell death 1 (PD1) antibody, cluster of differentiation (CD)137 agonist or anti-CD 40 antibodyXx_NEWLINE_xXPatients with known immune impairment who may be unable to respond to anti-cytotoxic T-lymphocyte antigen 4 (CTLA 4) antibodyXx_NEWLINE_xXSubjects may have received any number of the following therapies: cytokine therapy (e.g. high dose interleukin-2) or checkpoint inhibitor therapy (e.g. anti-programmed cell death [PD]1/programmed cell death ligand [PDL]1, anti-cytotoxic T-lymphocyte-associated protein [CTLA]4) or mechanistic target of rapamycin (mTOR) inhibitor therapy (e.g. everolimus, temsirolimus)Xx_NEWLINE_xXPrior treatment with anti-PD-1, anti-programmed death-ligand (PD-L)1, anti-PD-L2 antibodyXx_NEWLINE_xXPatients who have received prior treatment with anti?CTLA-4 may be enrolled, provided the following requirements are met:\r\n* Minimum of 12 weeks from the first dose of anti?CTLA-4 and > 6 weeks from the last dose\r\n* No history of severe immune-related adverse effects from anti?CTLA-4 (CTCAE grade 3 and 4)Xx_NEWLINE_xXPatients with previous exposure to anti-programmed cell death (PD)-1 or anti-programmed cell death ligand 1 (PDL-1) will not be eligibleXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPatients who have had prior therapy with nivolumab or with an anti-PD-1, anti-PD-ligand (L)1, anti-PD-L2, anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune check point pathwaysXx_NEWLINE_xXPatients who have previously received ipilimumab, programmed cell death 1 (PD-1) inhibitors or programmed cell death-ligand 1 (PD-L1) inhibitors are excludedXx_NEWLINE_xXPatients who have had a grade one or grade two gastrointestinal adverse event during or after receiving anti-CTLA-4, anti-PD1 or anti-PD, without a colonoscopy verifying complete resolution of the adverse eventXx_NEWLINE_xXStudy participants who had prior treatment with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXStudy participants with known immune impairment who may be unable to respond to anti-cytotoxic T-lymphocyte antigen 4 (CTLA 4) antibody and/or anti-PD-1 antibodyXx_NEWLINE_xXPatients with a history of prior treatment with ipilimumab, anti-programmed cell death 1 (PD 1) antibody, cluster of differentiation 137 (CD137) agonist or other immune activating therapy such as anti-cluster of differentiation 40 (CD 40) antibodyXx_NEWLINE_xXPatients with a history of prior treatment with ipilimumab, anti-programmed cell death (PD) 1 antibody, cluster of differentiation (CD)137 agonist or other immune activating therapy such as anti-CD 40 antibodyXx_NEWLINE_xXPatients with known immune impairment who may be unable to respond to anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA 4) antibodyXx_NEWLINE_xXPrior therapy with an anti-programmed cell death (PD)-1, anti-PD-ligand (L)1, anti-PDL-2, or anti-cytotoxic T-lymphocyte-associated protein (CTLA)-4 antibody (or any other antibody targeting T-cell co-stimulation pathways)Xx_NEWLINE_xXPrior treatment with interferon (if complete < 6 months prior to participation in study), anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an immune checkpoint inhibitor (e.g., anti-programmed cell death [PD]-1, anti-PD ligand 1 [L1], anti-PD-L2 agent, or anti-cytotoxic T-lymphocyte-associated protein 4 [CTLA-4] agent, etc.)Xx_NEWLINE_xXPatients must not have had prior treatment with an anti-programmed cell death (PD)-1, anti-PD-L1, anti-PD-L2, anti-cytotoxic T-lymphocyte-associated protein (CTLA)-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior treatment with cluster of differentiation (CD) 137 agonist, anti-programmed death (PD) 1, or anti-programmed death ligand (PD-L) 1 therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXPrior treatment with an anti-Programmed Death (PD) -1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation 137 (CD137), or anti-cytotoxic T-lymphocyte-associated antigen 4(CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways. This includes the utilization of these agents in the neo-adjuvant or adjuvant setting.Xx_NEWLINE_xXImmune-checkpoint inhibitors (i.e., anti-PD-1, anti-PD-L1, or anti-CTLA-4): 4 weeksXx_NEWLINE_xXPrevious treatment with pembrolizumab, nivolumab, or other programmed cell death-1 antibody (anti- PD-1) or PD-1 ligand-antibody (anti-PD-L1) agents.Xx_NEWLINE_xXPrior treatment with an anti-Programmed Death Receptor (PD)-1, anti-PD-L1, anti-PD-L2, anti-Cytotoxic T-Cell Lymphoma-4 Antigen (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXReceipt of anti-CTLA-4 or anti-CD27 antibody within 3 months prior to the planned start of study treatment.Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 receptor (anti-PD-1), anti-programmed death-ligand 1 (anti-PD-L1), anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways).Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (anti-PD-1), anti-programmed cell death ligand 1 (anti-PD-L1), anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways).Xx_NEWLINE_xXHER2/neu protein negative and programmed cell death ligand 1 (PD-L1)-positiveXx_NEWLINE_xXSubjects must not have received immunotherapy with programmed death receptor-1 (PD-1) or cytotoxic T-lymphocyte antigen (CTLA-4) targeted therapy.Xx_NEWLINE_xXMelanoma immune checkpoint-naïve: Subjects must not have received immunotherapy with anti-PD-1, anti-PD-L1, or anti-CTLA-4 therapy. Exception: Prior anti?CTLA-4 in the adjuvant setting would be permitted.Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways). Exception: Prior anti?CTLA-4 in the adjuvant setting for subjects with melanoma would be permitted.Xx_NEWLINE_xXPrior therapy with an antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathways, including, but not limited to, anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T lymphocyte associated antigen 4 (anti-CTLA-4) antibody.Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or IDO1 inhibitor or any other antibody or drug specifically targeting checkpoint pathways other than anti-CTLA-4 which is permitted in the adjuvant settingXx_NEWLINE_xXPrior systemic anti-cancer treatment for EOC, FTC, or PPC including prior immunotherapy with IL 2, IFN ?, or anti PD 1, anti PD L1, anti PD L2, anti CD137, or anti cytotoxic T lymphocyte associated antigen 4 (anti CTLA 4) antibody (including ipilimumab), or any other antibody or drug specifically targeting T cell co stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint blockade therapies, including anti-CTLA-4, anti PD-1, and anti PD-L1 therapeutic antibodies, or any other antibody or drug targeting T-cell costimulation.Xx_NEWLINE_xXPrior therapy with an anti-programmed cell death (PD)-1, anti-PD-ligand-1 (anti-PD-L1), anti-PD-L2 agent or with an agent directed to another co-inhibitory T-cell receptor (e.g. cytotoxic T-lymphocyte associated protein 4 [CTLA-4], OX-40, CD137) or previously participated in any pembrolizumab (MK-3475) clinical studiesXx_NEWLINE_xXGVHD therapies: Any systemic drug used for GVHD must be stopped > 4 weeks prior to CTL019 infusion to confirm that GVHD recurrence is not observed (e.g. calcineurin inhibitors, methotrexate or other chemotherapy drugs, mycophenolate, rapamycin, thalidomide, or immunosuppressive antibodies such as anti-CD20 (rituximab), anti-tumor necrosis factor [anti-TNF], anti-interleukin 6 [anti-IL6] or anti-interleukin 6 receptor [anti-IL6R], systemic steroids)Xx_NEWLINE_xXPrior therapy with experimental anti-tumor vaccines; any T cell co-stimulation or checkpoint pathways, such as anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody, including Ipilimumab; or other medicines specifically targeting T cell is also prohibitedXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 receptor (anti-PD-1), antiprogrammed death-ligand 1 (anti-PD-L1), anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathways).Xx_NEWLINE_xXPRIOR/CONCURRENT THERAPY CRITERIA: Prior treatment with an anti-PD-1 or anti-PDL1 is not requiredXx_NEWLINE_xXPrior therapy with an anti PD 1, anti PD L1, anti PD L2, anti CD137, or anti cytotoxic T lymphocyte associated antigen 4 (CTLA 4) antibody (including ipilimumab, tremelimumab or any other antibody or drug specifically targeting T cell co stimulation or immune checkpoint pathways).Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 receptor (anti-PD-1), antiprogrammed death-ligand 1 (anti-PD-L1), anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathways)Xx_NEWLINE_xXSubject has had prior therapy with T-cell immune modulating antibodies, including anti-CTLA-4, anti-PD-1 or anti-PD-L1.Xx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including pembrolizumab, ipilimumab, and any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (anti-PD-1), anti-programmed cell death ligand 1 (anti-PD-L1), anti-PD-L2, anti-CD137, or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHad prior treatment with any anti-programmed cell death 1 (anti-PD-1), or anti-programmed cell death ligand 1 (PD-L1), or PD-L2 agent or an antibody targeting any other immune-regulatory receptors or mechanisms. Examples of such antibodies include antibodies against indoleamine-2,3-dioxygenase (IDO), PD-L1, interleukin 2 receptors (IL-2R), glucocorticoid-induced tumor necrosis factor receptor-related protein (GITR).Xx_NEWLINE_xXPatients must not have any prior exposure to immunotherapy such as, but not limited to anti-programmed death 1 (PD-1) or anti-PD-L1 antibodies; prior exposure to the following is allowed: anti-cytotoxic T lymphocyte antigen 4 (CTLA-4) antibodies, live attenuated vaccines, anti-EGFR agents and sargramostim (GM-GSF)Xx_NEWLINE_xXSubject has been previously treated with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways;Xx_NEWLINE_xXSubject had prior exposure to immunotherapy, including, but not limited to, other anti- CTLA-4,anti-PD-1, anti-PD-L1 monoclonal antibody or inhibitor, cell-based therapies, or cancer vaccinesXx_NEWLINE_xXReceived prior immune checkpoint inhibitors (e.g., anti-CTLA-4, anti-PD-1, anti PDL-1) and any other antibody or drug specifically targeting T-cell costimulation or an IDO inhibitorXx_NEWLINE_xXPrior treatment with trastuzumab emtansine, cluster of differentiation 137 agonists, anti-programmed death-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXHas had prior treatment with any anti-programmed cell death (anti-PD-1), or programmed cell death ligand 1 (PD-L1), or PD-L2 agent or an antibody targeting any other immune-regulatory receptors or mechanisms.Xx_NEWLINE_xXPrior anti- Cytotoxic T-lymphocyte-associated antigen 4 (CTLA-4), Programmed death-1 (PD-1), or Programmed death ligand-1 (PD-L1) or other immune checkpoint mAb exposure.Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 receptor (anti-PD-1), antiprogrammed death-ligand 1 (anti-PD-L1), antiprogrammed death-ligand 2 (anti-PD-L2), anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell costimulation or checkpoint pathways).Xx_NEWLINE_xXPrior therapy with an anti-programmed cell death-1 (PD-1) or anti-PD1-L1 or -L2 therapy or previously participated in a Merck pembrolizumab (MK-3475) studyXx_NEWLINE_xXPrior treatment with cluster of differentiation 137 (CD137) agonists or immune checkpoint blockade therapies, including anti-cytotoxic T-lymphocyte-associated protein 4 (anti-CTLA4), anti-programmed death-1 (PD-1), or anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint blockade therapies, including anti-CTLA4, anti-PD-1, and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior therapy with any antibody/drug targeting T-cell coregulatory proteins (immune checkpoints) such as antiprogrammed death 1 (PD-1), anti-PD-L1, or anticytotoxic T-lymphocyte antigen-4 (CTLA-4) antibody; for Part B, the Investigator must consult with the Medical Monitor and consider other co-regulatory targets such as 4-1BBXx_NEWLINE_xXPrior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death 1 ligand (PDL-1), anti-PD-L2, or with an agent directed to another co-inhibitory T-cell receptor (e.g. CTLA-4, OX-40, CD137)Xx_NEWLINE_xXPrior systemic treatment with and anti-PD1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior treatment with cluster of differentiation (CD) 137 agonists or immune checkpoint blockade therapies, anti-programmed death-1 (PD-1), and anti-PD-L1 therapeutic antibodyXx_NEWLINE_xXInclusion Criteria:\n\n For inclusion in the study, patients should fulfill the following criteria:\n\n - Aged at least 18 years\n\n - Documented evidence of Stage IV NSCLC\n\n - No sensitizing EGFR mutation or ALK rearrangement\n\n - No prior chemotherapy or any other systemic therapy for recurrent/metastatic NSCLC\n\n - World Health Organization (WHO) Performance Status of 0 or 1\n\n Exclusion Criteria:\n\n Patients should not enter the study if any of the following exclusion criteria are\n fulfilled:\n\n 1. Mixed small-cell lung cancer and NSCLC histology, sarcomatoid variant\n\n 2. Brain metastases or spinal cord compression unless asymptomatic, treated and stable\n (not requiring steroids)\n\n 3. Prior exposure to Immunomodulatory therapy (IMT), including, but not limited to, other\n anti-cytotoxic T-lymphocyte-associated antigen 4 (CTLA-4), anti-programmed cell death1\n (PD-1), anti-programmed cell death ligand 1 (PD-L1), or anti PD-L2 antibodies,\n excluding therapeutic anticancer vaccines\n\n 4. Active or prior documented autoimmune or inflammatory disorders (including\n inflammatory bowel disease [eg, colitis or Crohn's disease]Xx_NEWLINE_xXSubjects who have received an anti-DLL4 antibody, or an anti-DLL4/VEGF bispecific antibody Subjects who have received prior anti-VEGF therapy are eligible, unless they have residual serious adverse events related to their anti-VEGF therapy.Xx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint blockade therapies, including anti-CTLA-4, anti-PD-1, and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PDL-2, or anti-CTLA-4 antibody (or any other antibody targeting T cell co-stimulation pathways)Xx_NEWLINE_xXhave not received previous systemic therapy (including investigational agents) targeting programmed cell death protein 1 (PD-1)/ PD-1 ligand (PDL 1) or PD-1/PDL-2 signaling pathways. Prior therapy with other immune checkpoint inhibitors, including but not limited to, anti-CD137 antibody or anticytotoxic T-lymphocyte-associated antigen-4 antibody, is not permittedXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti-PD-ligand-1 (anti-PD-L1), anti-PD-L2 agent or with an agent directed to another co-inhibitory T-cell receptor (e.g. cytotoxic T-lymphocyte-associated antigen-4 [CTLA-4], tumor necrosis factor receptors OX-40 or CD137) or has participated in prior pembrolizumab (MK-3475) studiesXx_NEWLINE_xXPrevious treatment with an anti-programmed cell death 1 [PD1] or programmed cell death ligand 1 [PDL1] inhibitor, including MEDI4736, or an anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4) inhibitory agentXx_NEWLINE_xXNo prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody.Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (PD-1), PD-L1, anti-programmed cell death ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways); patients who have previously received MK-3475 or participated in an MK-3475 clinical trial will be ineligibleXx_NEWLINE_xXPatients who have had prior therapy with nivolumab or with an anti-programmed cell death (PD)-1, anti-PD-ligand (L)1, anti-PD-L2, anti-cytotoxic T-lymphocyte-antigen (CTLA)-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune check point pathwaysXx_NEWLINE_xXPrior treatment with cluster of differentiation 137 (CD137) agonists or immune checkpoint blockade therapies, anti-programmed death-1 (anti-PD-1), and anti-PD-L1 therapeutic antibodyXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death-ligand 1 (PD-L1), anti-programmed cell death-ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death 1 ligand 1 (PD-L1), anti-programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXReceived prior therapy with an anti-programmed cell death protein 1 (anti-PD-1), anti-PD-L1, anti-programmed cell death-ligand 2 (anti-PD-L2), anti-CD137 (4-1BB ligand, a member of the Tumor Necrosis Factor Receptor [TNFR] family), or anti-Cytotoxic T-lymphocyte-associated antigen-4 (anti-CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXSubjects who have had chemotherapy or radiotherapy or any systemic therapy for melanoma within 3 weeks prior to entering the study or those who have not recovered from adverse events due to agents administered more than 3 weeks earlier; no concomitant therapy is allowed including interleukin-2 (IL2), interferon, ipilimumab, anti-programmed cell death 1 (PD-1) or anti-programmed death-ligand 1 (PD-L1) antibody, cytotoxic chemotherapy, immunosuppressive agents, or other investigational therapiesXx_NEWLINE_xXPrior therapy with an anti-programmed cell death (anti-PD)-1, anti-PD-Ligand 1, anti-PD-Ligand 2 or with an agent directed to another co-inhibitory T-cell receptor or has previously participated in a pembrolizumab clinical trial. Note: In Part 1C, participants may have received anti-PD-1 and/or anti-Cytotoxic T-lymphocyte-associated antigen 4 (anti-CTLA-4) as part of their neo/adjuvant treatment.Xx_NEWLINE_xXSubject whom participated in either arm of the following clinical trials CA209-017, CA209-057, CA209-026, and CA184-104 or received prior treatment with anti-programmed death 1 (PD-1) or anti-programmed death-ligand 1 (PDL1) experimental agentsXx_NEWLINE_xXPrior therapy with an anti-programmed cell death (PD)-1, anti-PD-L1, anti-PD-L2, anti-tumor necrosis factor CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways), or took part in another pembrolizumab trialXx_NEWLINE_xXSystemic cancer therapy (standard or experimental), including cytotoxic chemotherapy or IL-2, received less than 4 weeks or checkpoint blocking agents (e.g., cytotoxic T-lymphocyte protein [CTLA]-4 or programmed cell death protein [PD]1/PD-ligand [L]1 inhibitors) received less than 6 weeks prior to lymphodepletion, with the exception of targeted therapiesXx_NEWLINE_xXReceived any of the following prescribed medications or therapies in the past: Anti-CD38 antibody, including daratumumab, and/or Anti-PD-1 (programmed death-1) and anti-PD-L1 (programmed death-ligand 1) antibodiesXx_NEWLINE_xXPrior immune therapy for NSCLC excluded. Patients should be excluded if they have had prior treatment with an anti-PD-1, anti-PD-L1, anti PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathways.Xx_NEWLINE_xXPrior treatment with anti-CTLA-4 therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXParticipants may not have received any prior treatment with an anti-PD-1, anti PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPatients who have had prior exposure to checkpoint blockade therapy, such as anti-PD-1/PD-L1, anti-cytotoxic T-lymphocyte associated protein 4 (CTLA4), anti-CD137, and anti-OX40 antibody therapy, are not eligibleXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPatients must not have had any prior therapy with an anti-PD-1, anti-programmed cell death 1 ligand 1 (PD-L1), anti-programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation (CD)137 or anti-cytotoxic t-lymphocyte-associated protein 4 ligand (CTLA-4) antibody (or any antibody or drug specifically targeting T-cell costimulation or checkpoint pathways; for questions or uncertainties, please contact the PI or quality assurance manager (QAM)Xx_NEWLINE_xXPrior anti-cancer therapy including: Fludarabine or alemtuzumab within 12 months prior to D1C1; radioimmunoconjugate within 12 weeks prior to D1C1; monoclonal antibody or antibody drug conjugate (ADC) within 5 half-lives or 4 weeks prior to D1C1 ; radiotherapy, chemotherapy, hormonal therapy, or targeted small-molecule therapy within 2 weeks prior to D1C1; anti-programmed death-1 (anti-PD-1), anti-programmed death-ligand 1 (anti-PD-L1), anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4), anti-CD137/41-BB agonist, or anti-CD40 agonist antibodiesXx_NEWLINE_xXPatients should be excluded if they have had prior treatment with an anti-programmed cell death (PD)1 or anti-PD-ligand (L)1; please contact principal investigator, Devalingam Mahalingam, for specific questions on potential interactionsXx_NEWLINE_xXProhibited prior treatments and/or therapies: a) prior therapy with an anti-killer cell immunoglobulin-like receptors (KIR), anti-programmed cell death 1 (PD-1), or anti-programmed cell death ligand 1 (PD-L1), antibody ; b) prior treatment regimens with any immune cell modulating antibody such as anti-cluster of differentiation (CD)137 and anti-OX40; however, prior anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4) therapy is allowed if the last dose is 101 days or more from the first dose of study drug; c) exposure to any other investigational drug within 2 weeks prior to the first dose of study drug (within 101 days for anti-CTLA4 therapy); d) any anti-cancer therapy (e.g., chemotherapy, biologics, vaccines, radiotherapy with curative intent, or hormonal treatment) within 2 weeks prior to the first dose of study drug administration (within 101 days for anti-CTLA4 therapy administration); e) use of non-oncology vaccines containing live virus for prevention of infectious diseases within 4 weeks prior to study drug; the use of the inactivated seasonal influenza vaccine (Fluzone) is allowed; f) systemic corticosteroid at immunosuppressive doses (> 10 mg/day of prednisone or equivalent), must be discontinued at least 2 weeks prior to enrollmentXx_NEWLINE_xXHas received any previous systemic therapy targeting programmed death (PD) 1 or PD-ligand 1/2 signaling pathways, and other immune checkpoint inhibitorsXx_NEWLINE_xXReceived any prior monoclonal antibody against cytotoxic T-lymphocyte antigen 4 (CTLA-4), programmed cell death 1 (PD1) or programmed cell death 1 ligand 1 (PD-L1)Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with an anti-programmed cell death (PD)-1, anti-PD-L1 or anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibodyXx_NEWLINE_xXPrior immunotherapy with IL-2, IFN-?, or anti PD 1, anti PD L1, anti PD L2, anti CD137, or anti cytotoxic T lymphocyte associated antigen 4 (CTLA 4) antibody (including ipilimumab), or any other antibody or drug specifically targeting T cell co stimulation or immune checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PDL1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibodyXx_NEWLINE_xXAny major surgery, radiotherapy, chemotherapy, biologic therapy, immunotherapy, experimental therapy within 4 weeks prior to the first dose of the study drugs; for oral targeted therapies (such as ibrutinib, idelalisib, venetoclax), a washout of 3 days is allowed; Note: prior treatment with anti cluster of differentiation (CD)20 monoclonal antibody, anti CD52 monoclonal antibody and lenalidomide are allowed; prior treatment with anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) and anti-programmed cell death 1 (PD1) therapies is allowed after a wash-out of 5 half-livesXx_NEWLINE_xXTreatment with an EGFR-TKI within 5x half-life of study entry; any cytotoxic chemotherapy, investigational agents or other anticancer drugs within 14 days of study entry; current treatment with potent inhibitors/inducers of cytochrome P450 3A4 (CYP3A4); previous treatment with AZD9291 (or other agents specifically targeted against EGFR T790M mutation positive NSCLC); Prior neo-adjuvant or adjuvant chemotherapy treatment within 6 months of starting 1st EGFR TKI treatment; prior exposure to immune-mediated therapy including, but not limited to, other anti cytotoxic T-lymphocyte-associated antigen 4 (anti CTLA-4), anti- programmed cell death 1 (anti-PD-1), anti- programmed cell death ligand 1 (anti-PD-L1), and anti-programmed cell death ligand 2 (anti-PD-L2) antibodies, excluding therapeutic anticancer vaccines; radiotherapy treatment to more than 30% of the bone marrow or with a wide field of radiation within 4 weeks; major surgery within 4 weeks;Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (PD-1), anti-programmed cell death ligand 1 (PD-L1), anti-programmed cell death ligand 2 (PD-L2), anti- cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways); Note: subjects that received prior therapy with pidilizumab are an exception to this criterion and may qualify for the studyXx_NEWLINE_xXHas received prior therapy with an anti- programmed cell death protein 1 (PD-1), anti- programmed cell death 1 ligand 1 (PD-L1), anti-programmed cell death 1 ligand 2 (PD-L2), anti-tumor necrosis factor receptor superfamily, member 9 (CD137), or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti- programmed cell death 1 (PD-1), anti- programmed cell death ligand 1 (PD-L1), anti- programmed cell death 1 ligand 2 (PD-L2), anti- cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior exposure to doxorubicin, PLD or any other anthracycline, motolimod and other TLR agonists, MEDI4736 or checkpoint inhibitors, such as anti-CTLA4 and anti-PD1/anti-PD-L1 antibodies.Xx_NEWLINE_xXPrior therapy with anti-programmed cell death protein 1 (PD-1), anti-programmed cell death1 ligand 1 (PD-L1), anti-programmed cell death 1 ligand 2 (PD-L2), anti-cluster of differentiation 137 (CD137), or anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXReceived prior therapies: ibrutinib, or other BTK inhibitor and/or anti-PD1, anti-PD-L1, anti-PD-L2, anti-CD137, or CTLA-4 antibodyXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with an anti-PD-1,anti-PD-L1,anti-PD-L2,anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody, anti-CD137 or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathways Exclusion laboratory criteria:Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways).Xx_NEWLINE_xXPrior treatment with any anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4) monoclonal antibody or anti-programmed cell death receptor 1 (PD-1), anti-programmed cell death receptor ligand 1 (PD-L1), or anti-programmed cell death receptor ligand 2 (PD-L2) agent, or prior participation in any Merck pembrolizumab clinical trialXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, or anti-cluster of differentiation (CD)137; patients who received anti-cytotoxic T-lymphocyte antigen 4 (CTLA4) (ipilimumab, tremelimumab) will NOT be excluded and are eligible for inclusionXx_NEWLINE_xXReceived prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-Cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways).Xx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cytotoxic T-lymphocyte antigen 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti-PD ligand (PD-L)1, anti-PD-L2, anti-cluster of differentiation (CD)137 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior BTK inhibitor or anti PD1, anti PDL1, anti PD-L2 and anti-CD137, anti-cytotoxic T-lymphocyte associated antigen (CTLA-4) antibodyXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPatients should be excluded if they have had prior treatment with an anti-PD-1, anti-PD-L1, anti-programmed cell death ligand 2 (PD-L2), anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti-PD-ligand (L)1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways); previous treatment with sipuleucel-T is permittedXx_NEWLINE_xXPrior treatment with cluster of differentiation 137 (CD137) agonists or immune checkpoint blockade therapies, including anti-cytotoxic T-lymphocyte-associated protein 4 (anti-CTLA-4), anti-programmed death-1 (anti-PD-1) or anti-programmed death-ligand 1 (anti-PD-L1) therapeutic antibodiesXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or other antibody or drug specifically targeting T-cell co-stimulation)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (PD-1), anti-PD-L1, anti-PD-L2, anti-cluster of differentiation 137 (CD137), or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior therapy with an anti-programmed cell death 1 (PD-1) or anti-PD-Ligand 1 agent, or with an agent directed to another co-inhibitory T-cell receptorXx_NEWLINE_xXPatients with a history of prior treatment with anti-PD-1, anti-PD-ligand (L)1, anti-PD-L2, anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4) antibodies, or who have received both GVAX or CRS-207 will be excludedXx_NEWLINE_xXPrior treatment with an anti-programmed death (PD)-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte antigen 4 (CTLA-4) antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathwaysXx_NEWLINE_xXPrior treatment with CD137 agonists or immune checkpoint blockade therapies, including anti-cytotoxic T lymphocyte-associated antigen 4 (anti-CTLA-4), anti-programmed death-1 receptor (anti-PD-1), and anti-programmed death-ligand 1 (anti-PD-L1) therapeutic antibodiesXx_NEWLINE_xXHas previously participated in any other pembrolizumab (MK-3475) trial, or received prior therapy with an anti-PD-1, anti-PD-L1, and anti-PD-L2 (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with CD137 agonists, anti-CTLA4, anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXPrior exposure to tremelimumab or MEDI4736 or other anti-CTLA-4, anti-PD-1, anti-PDL1 antibodiesXx_NEWLINE_xXPrior therapy with anti-programmed cell death protein 1 (PD-1), anti-PD-ligand (L)1, anti-PD-L2, anti-cluster of differentiation (CD)137, anti-cytotoxic T-lymphocyte antigen 4 (CTLA-4) antibody therapies, any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways, deoxyribonucleic acid (DNA) methyltransferase therapy or histone deacetylase (HDAC) inhibitor therapyXx_NEWLINE_xXPatients with a history of prior treatment with anti-programmed cell death (PD-1), anti-PD-L1, anti-programmed cell death 1 ligand 2 (PD-L2), anti-tumor necrosis factor receptor superfamily, member 9 (CD137), anti-tumor necrosis factor receptor superfamily, member 4 (OX-40), anti- TNF receptor superfamily member 5 (CD40), or anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibodiesXx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agents\r\n* Patients who have received prior treatment with anti-cytotoxic T lymphocyte-associated antigen (CTLA-4) may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last\r\ndose\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (National Cancer Institute [NCI] common terminology criteria for adverse events [CTCAE] grade 3 and 4)Xx_NEWLINE_xXPrior Therapies:\r\n* Treatment with a monoclonal antibody within 4 weeks prior to study day 1 or has not recovered (i.e., >= grade 1 at baseline) from adverse events due to agents administered > 4 weeks earlier\r\n* Prior chemotherapy, targeted small molecule therapy, within 3 weeks prior to study day 1 or has not recovered (i.e., >= grade 1 at baseline) from adverse events due to a previously administered agent (excluding grade 2 neuropathy)\r\n* Prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior immunotherapy with IL-2, IFN-?, or an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, OX 40, GITR, LAG 3, IDO, TDO,TIM 3, CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathways. Prior treatment with Sipuleucel-T for patients with mCRPC is allowed.Xx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, anti-CTLA-4 antibody or any other antibody or drug specifically targeting T cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior treatment with an anti-Programmed Death receptor-1 (PD-1), anti-Programmed Death-1 ligand-1 (PD-L1), anti-PD-L2, or anti-cytotoxic T lymphocyte associated antigen-4 (anti-CTLA-4) antibodyXx_NEWLINE_xXPrior therapy with anti programmed death-1 (anti-PD-1), anti programmed death-ligand 1 (anti-PD-L1) or anti-programmed death-ligand 2 (anti-PD-L2)Xx_NEWLINE_xXPrior therapy with anti-programmed death-1 (anti-PD-1), anti-programmed cell death ligand 1 (anti-PD-L1), anti-programmed cell death ligand 2 (anti-PD-L2), anti-cluster of differentiation 137 (anti-CD137), or anti-Cytotoxic T lymphocyte-associated antigen 4 (anti-CTLA-4) antibody (including Ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrevious treatment with anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody or cancer vaccineXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways) for the immunotherapy-naive cohort onlyXx_NEWLINE_xXPrior treatment with anti-PD-1, or anti-PD-L1 therapeutic antibody or pathway-targeting agents or eribulin\r\n* Patients who have received prior treatment with anti-CTLA-4 may be enrolled, provided the following requirements are met:\r\n** Minimum of 12 weeks from the first dose of anti-CTLA-4 and > 6 weeks from the last dose\r\n** No history of severe immune-related adverse effects from anti-CTLA-4 (National Cancer Institute [NCI] Common Terminology Criteria for Adverse Events [CTCAE] version 5.0)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein-1 (anti-PD-1), anti-PD-L1, or anti-PD-L2 agent or with an agent directed to another co-inhibitory T-cell receptor or has previously participated in a pembrolizumab (MK-3475) clinical trialXx_NEWLINE_xXPrior histone deacetylase (HDAC) inhibitor and/or anti-PD1, anti-PDL1, anti-PD-L2, anti-CD137 or anti-cytotoxic T- lymphocyte associated antigen 4 (CTLA-4) antibody allowed as long patient received clinical benefit from it, best response was not progressive disease and it was not the most recent treatmentXx_NEWLINE_xXPatients should be excluded if they have had prior systemic treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell costimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior therapy with any antibody/drug targeting T-cell co-regulatory proteins (immune checkpoints) such as anti-PD-1, anti-PD-L1, or anti-cytotoxic T-lymphocyte antigen 4 (CTLA-4) antibodies. For subjects with metastatic melanoma, prior treatment with CTLA-4-blocking antibody is permissible.Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein-1 (anti-PD-1), anti-programmed cell death-ligand 1 (anti-PD-L1), or anti-programmed cell death-ligand 2 (anti-PD-L2) agent or with an agent directed to another co-inhibitory T-cell receptor (i.e., cytotoxic T-lymphocyte-associated protein 4 [CTLA-4], tumor necrosis factor receptor superfamily member 9 [TNFRSF9, OX-40, CD137]) or has previously participated in a Merck pembrolizumab (MK-3475) clinical trialXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (anti-PD-1), anti-programmed death - ligand 1 (anti-PD-L1), or anti-PD-L2 agent or with an agent directed to another co-inhibitory T-cell receptor (e.g., cytotoxic T-lymphocyte-associated antigen-4 [CTLA-4], OX-40, CD137 [tumor necrosis factor receptor superfamily member 9 (TNFRSF9)]) or has previously participated in a pembrolizumab (MK-3475) clinical study.Xx_NEWLINE_xXAny previous treatment with a programmed cell death protein 1 (PD1) or programmed cell death-1 ligand 1 (PD-L1) inhibitor, including durvalumabXx_NEWLINE_xXPrior treatment with immune checkpoint inhibitors (eg, anti-CTLA-4, anti-PD-1, anti-PD-L1, and any other antibody or drug specifically targeting T-cell co-stimulation) or an IDO inhibitor.Xx_NEWLINE_xXParticipants in the Monotherapy Expansion Cohort must have one of the following advanced or recurrent malignancies: cutaneous melanoma showing primary progression following treatment with an anti-programmed cell death (PD) or anti-PDL1 regimen; or anti-PD1 or anti-PD-L1 treatment-naïve colorectal or gastric cancer, including gastroesophageal junction cancer of Siewert Type II and Type III.Xx_NEWLINE_xXHave had prior therapy with an anti-programmed cell death 1 (PD-1), anti-PD-L1, anti-PD-L2, or anticytotoxic T lymphocyte-associated antigen-4 antibodyXx_NEWLINE_xXTreatment with any immunomodulatory medication within 4 weeks of initiation of study therapy, except for anti-tumor therapy (e.g., anti-cytotoxic T-lymphocyte-associated antigen 4 [CTLA-4])Xx_NEWLINE_xXPrevious treatment with anti-CD27 antibody, ipilimumab or other anti-CTLA-4 targeted therapies. Previous therapy with other checkpoint blockers such as anti-PD-1 or anti-PD-L1 is acceptable, unless treatment was discontinued for intolerance.Xx_NEWLINE_xXSubjects may have failed a programmed cell death protein 1 (PD-1) or programmed death-ligand 1 (PD-L1) therapy for advanced disease.Xx_NEWLINE_xXPrior exposure to immunotherapy (either as a single agent or in combination) including but not limited to CD137 or OX40 agonists, anti-CTLA-4, anti-PD-1, or anti-PD-L1, anti-PD-L2 antibody or pathway-targeting agentsXx_NEWLINE_xXPrior EGFR-targeted regimen, anti-HER2, anti-HER3, or anti-HER4 therapyXx_NEWLINE_xXPrior treatment with anti-PD-1, anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4), or anti-PD-L1 therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXPrior treatment with an anti-PD-1, anti-PD-L1, or anti-PD-L2 antibody; neuroblastoma (NB)-patients who have received prior anti-cytotoxic T-lymphocyte antigen (CTLA)-4 antibody therapy are eligible assuming such therapy was discontinued within 28 days of enrollmentXx_NEWLINE_xXPrior immunotherapy with IL-2, IFN-?, or an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or CTLA 4 antibody (including ipilimumab), or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior treatment with any therapy on the programmed cell death 1 (PD-1)/PD-L1 axis or anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) inhibitors unless enrolling the urothelial carcinoma with previous checkpoint inhibition therapy expansion cohortXx_NEWLINE_xXA history of prior treatment with ipilimumab, nivolumab or other cytotoxic t-lymphocyte-associated protein 4 (CTLA-4), programmed cell death 1 (PD1) or PD-L1 inhibitorXx_NEWLINE_xXPrior treatment with cluster of differentiation (CD) 137 agonists or immune checkpoint blockade therapies, anti-programmed death-1 (anti-PD-1), and anti-PD-L1 therapeutic antibodiesXx_NEWLINE_xXPrior therapy with a Cytotoxic T Lymphocyte Antigen 4 (CTLA-4) or Programmed death- 1\n (PD-1) antagonist, or Programmed cell death- ligand 1 (PD-L1) or CD137 agonistsXx_NEWLINE_xXPrior treatment with CD137 or OX40 agonists, anti?cytotoxic T-lymphocyte-associated protein (CTLA4), anti?programmed death-1 (PD-1), anti- programmed death-ligand 1 (PD-L1), anti-CD-27, anti- glucocorticoid-induced tumor necrosis factor receptor (GITR) therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXPrior therapy for melanoma with the following exceptions which are allowed: 1) surgery for the melanoma lesion(s), 2) adjuvant RT after neurosurgical resection for CNS lesions, and 3) prior adjuvant IFN (see qualifier below). Specifically, patients who received prior therapy with anti-PD-1, anti PD L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T cell costimulation or checkpoint pathways) are not eligible. • Prior treatment with adjuvant IFN is allowed if completed ? 3 months prior to treatment.Xx_NEWLINE_xXTherapeutic anti-coagulative or long term anti-platelet treatment.Xx_NEWLINE_xXRecipient of any blood product and immunotherapy (such as anti-PD1, anti-PDL-1 and anti-CTLA4) within 3 months of enrollment;Xx_NEWLINE_xXPrior treatment with immune checkpoint blockade therapies, including anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4), anti-programmed cell death 1 (PD-1), and anti-programmed cell death 1 ligand 1 (PD-L1) therapeutic antibodiesXx_NEWLINE_xXPrior treatment with ibrutinib or other BTK inhibitor anti-CD137 or CTLA-4 antibody. The following are exceptions to this criterion: Subjects previously treated with an anti-PD1, anti-PD-L1, or anti-PD-L2 antibody.Xx_NEWLINE_xXPrior immune checkpoint inhibition with anti-PD1/programmed death-ligand (PD-L)1 or anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA4) therapy or other specific T cell targeting agentsXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death (PD)-1, anti-PD-ligand (L)1, anti-PD-L2Xx_NEWLINE_xXPrior therapy with anti-CD137 antibodyXx_NEWLINE_xXPrior therapy with any antibody/drug that targets the T cell coregulatory proteins, including but not limited to, anti-CD137, Anti Cytotoxic T lymphocyte-associated antigen 4 (anti-CTLA4) or Anti-Glucocorticoid-induced tumor necrosis factor receptor (anti-GITR). However, Anti-Programmed Death-1 (anti-PD-1), Anti-Programmed Death-Ligand1 (anti-PD-L1) are permissible as prior therapyXx_NEWLINE_xXPrior use of ipilimumab, other cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) blocking therapies, anti-programmed cell death 1 (PD 1) antibody, cluster of differentiation (CD) 137 agonist or other immune activating therapy such as anti-CD 40 antibody within the last 3 months of enrollment in the study; if any of these of these agents were used more than 3 months earlier to enrollment in study, the patient should have recovered from all toxicity and at least 3 months had passed since last use to allow for clearance and observation of any other side effects from the previous therapyXx_NEWLINE_xXPatients with a history of prior treatment with an anti-programmed cell death (PD) 1 antibody, CD137 agonist or other immune activating therapy such as anti-CD 40 antibody are excluded unless 5 half-lives of the agent (minimum of 8 weeks) have intervened since the therapy; patients who have received prior vaccine therapy are eligibleXx_NEWLINE_xXPatients with known immune impairment who may be unable to respond to anti-cytotoxic T-lymphocyte antigen 4 (CTLA 4) antibodyXx_NEWLINE_xXPrior treatment with a CD137 agonist, ipilimumab, or the cytotoxic T-lymphocyte antigen 4 (CTLA-4) inhibitor, or programmed death-1 (PD-1)/programmed cell death 1 ligand 1 (PDL-1) inhibitorXx_NEWLINE_xXBackfill enrollment in Phase Ib may be managed such that approximately half of the patients in each backfill cohort will not have been trated with prior immune checkpoint inhibitors (anti-PD-L1/PD-1 [programmed death-1] and/or cytotoxic T-lymphocyte-associated protein 4 [CTLA-4]), except for those patients with tumor indications where cancer immunotherapy (CIT) is approved as treatment by local regulatory authorities Additional Inclusion Criteria for Participants in Each Indication-Specific Exploration/Expansion Cohort of Phase 1b:Xx_NEWLINE_xXPrior treatment with anti-programmed death 1 (anti-PD-1)/Programmed cell death 1 ligand 1 (PD-L1) or anti-CD137Xx_NEWLINE_xXSubjects who received other anti Cytotoxic T-lymphocytic antigen (CTLA-4) (non-ipilimumab) or other anti-Programmed death-1 (PD-1) (non-nivolumab) treatmentXx_NEWLINE_xXPrior treatment with an anti-CTLA-4 agentXx_NEWLINE_xXAny major surgery, radiotherapy, chemotherapy, biologic therapy, immunotherapy, experimental therapy within 4 weeks prior to the first dose of the study drugs; for oral targeted therapies (such as ibrutinib, idelalisib, venetoclax), a washout of 3 days is allowed; Note: prior treatment with anti-cluster of differentiation (CD)20 monoclonal antibody, anti-CD52 monoclonal antibody and lenalidomide are allowed; prior treatment with anti-cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) and anti-programmed cell death (PD)1 therapies is allowed after a wash-out of 5 half-livesXx_NEWLINE_xXNo prior exposure to immune-mediated therapy defined as prior exposure to T-cell and natural killer cell directed therapy (e.g., anti-PD-1, anti-PD-L1, anti-CD137, and anti-CTLA4, etc).Xx_NEWLINE_xXHas received prior therapy with an anti-Programmed Cell Death Receptor 1 (PD-1), anti-PD-L1, anti-Programmed Cell Death Receptor Ligand 2 (PD-L2) agent or with an agent directed to another co-inhibitory T-cell receptor or has previously participated in clinical studies with pembrolizumabXx_NEWLINE_xXParticipants with a history of treatment with an anti-PD-1, anti-PD-L1, anti-CTLA-4 or other investigational agents that target immune checkpoint inhibitorsXx_NEWLINE_xXPrior treatment with CD137 agonists, anti- cytotoxic T-lymphocyte-associated protein 4, anti-PD-1, or anti-PDL1 therapeutic antibody or pathway targeting agents; prior IFN alpha or IL-2 is allowed following 4 week washout from treatment end dateXx_NEWLINE_xXPrior treatment with anti-cytotoxic T-lymphocyte-associated protein 4 (anti-CTLA4), anti-programmed death-1 (anti-PD-1), or anti-programmed death ligand-1 (anti-PD-L1) therapeutic antibodyXx_NEWLINE_xXPre-treatment with anti-CTLA4 antibodies in combination with any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathway.Xx_NEWLINE_xXSubjects who have received prior therapy with any T cell co-stimulation or checkpoint pathways such as anti-programmed cell death 1 (PD-1), anti-PD-L1, anti-programmed cell death 1 ligand 2 (PD-L2), anti-cytotoxic T-lymphocyte antigen 4 (CTLA-4), anti-cluster of differentiation (CD)137; or other medicines specifically targeting T cells are prohibited; prior therapy with Bacillus Calmette-Guerin (BCG) is permitted; prior interleukin (IL)-2 is permittedXx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic\r\nT-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXPrior treatment with cluster of differentiation (CD) 137 agonists or immune checkpoint blockade therapies, anti PD1, and anti-PD-L1 therapeutic antibodyXx_NEWLINE_xXPrior treatment with checkpoint inhibitors and other immunotherapy treatments, including anti-LAG-3, anti-PD-1, anti-PD-L1 or anti-CTLA-4 antibodies, if less than 5 half lives before study drug administrationXx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, anti CTLA 4, or anti-CD38 antibody, or allogeneic stem cell transplantationXx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein 1 (PD-1), anti-PD-L1, anti-PD-L2, anti-CD137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHistory of prior treatment with immune checkpoint antibodies (e.g. anti-PD1, anti-PDL1, anti-CTLA4 antibody) or co-stimulatory agonist antibodies (e.g. anti-41BB, anti-OX40)\r\n* Prior intravesical treatment with Bacillus Calmette-Guerin (BCG) is allowed; however, the last dose must be at least 6 weeks from time of enrollment and patients must have documented progressive disease at least 6 weeks from completion of last BCGXx_NEWLINE_xXPrior therapy with anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, or anti-CTLA-4 antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death protein-1 (anti-PD-1), anti-programmed cell death-ligand 1 (anti-PD-L1), or anti-PD-L2 agent or with an agent directed to another stimulatory or co-inhibitory T-cell receptor (i.e., cytotoxic T-lymphocyte-associated protein 4 [CTLA-4], tumor necrosis factor receptor superfamily member 4 [OX-40], necrosis factor receptor superfamily member 9 [CD137]) or has previously participated in a Merck pembrolizumab (MK-3475) clinical trial.Xx_NEWLINE_xXPatients who have previously received anti-PD1 or anti-PD-L1 therapy; patients who have previously received anti-CTLA-4 therapy (e.g. ipilimumab) are eligible for studyXx_NEWLINE_xXHas received previous treatment with an immunomodulatory agent (e.g., anti-programmed cell death 1/ anti-programmed cell death ligand 1 or cytotoxic T-lymphocyte-associated protein 4) and was discontinued from that treatment due to a Grade 3 or higher immune-related adverse eventXx_NEWLINE_xXPrior therapy with any antibody/drug that targets the T cell coregulatory proteins, including but not limited to, anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CD137, anti-OX-40,and anti-CD40 antibodies. However, half the patients must have progressed on anti Cytotoxic T lymphocyte-associated antigen 4 (anti-CTLA4) monoclonal antibody therapyXx_NEWLINE_xXPrior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, or anti-cytotoxic T-lymphocyte-associated protein-4 (CTLA-4) antibody (or any other antibody targeting T-cell co-stimulation pathways).Xx_NEWLINE_xXPrior therapy with talimogene laherparepvec, pembrolizumab, other anti-PD-1, any other antibody or drug specifically targeting T-cell co-stimulation or immune check point pathway.Xx_NEWLINE_xXPrior treatment with any anti-Programmed Death (PD)-1, or PD-L1 or PD-L2 agent; or with azacitidine (any formulation) or any other hypomethylating agent; or with anti-cytoplasmic (CD) 137, or anti-cytotoxic T-Lymphocyte Associated Protein (CTLA)-4 antibody (including ipilimumab) or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways.Xx_NEWLINE_xXPatients should be excluded if they have had prior treatment with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-CTLA-4 antibody, or any other antibody or drug specifically targeting T-cell co-stimulation or immune checkpoint pathwaysXx_NEWLINE_xXPrior therapy with experimental antitumor vaccines; any T-cell co-stimulation agents or inhibitors of checkpoint pathways, such as anti- programmed cell death protein 1 (PD-1), anti- programmed cell death 1 ligand 1 (PD-L1), anti- programmed cell death 1 ligand 2 (PD-L2), anti-CD137, or anti-CTLA-4 antibody; or other agents specifically targeting T cells are prohibited. However, for dose escalation, prior treatment with the marketed inhibitors of the immune checkpoint pathway, such as nivolumab and pembrolizumab, is allowed. In addition, in each of the expansion cohorts, 6 response-evaluable participants with prior exposure to anti-PD-1 or anti-PD-L1 agents will be allowed to enroll.Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death 1 (anti-PD-1), anti-PD-L1, or anti-PD-L2 agent or with an agent directed to another co-inhibitory T cell receptor (such as cytotoxic T-lymphocyte-associated protein 4 [CTLA-4], OX-40, CD137) or has previously participated in Merck pembrolizumab (MK-3475) clinical studies.Xx_NEWLINE_xXPrior treatment with CD137 agonists, anti-CTLA-4, anti-programmed death-1 (PD-1), or anti-PD-L1 therapeutic antibody or pathway-targeting agentsXx_NEWLINE_xXHave received prior treatment with an anti PD-1, anti-programmed death ligand 1 (PD-L1), or anti cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) agent.Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xXHas received prior therapy with an anti-programmed cell death-1 (anti-PD-1), anti-PD-ligand 1 (anti-PD-L1), anti-PD-L2, anti-CD137, or cytotoxic T-lymphocyte-associated protein 4 (CTLA-4) antibody (including ipilimumab) or OX-40 (Tumor necrosis factor receptor superfamily, member 4 [TNFRSF4]), or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways.Xx_NEWLINE_xXHas received prior therapy with an anti-PD-1, anti-PD-L1, anti-PD-L2, anti-cluster of differentiation (CD)137, or anti-cytotoxic T-lymphocyte-associated antigen-4 (CTLA-4) antibody (including ipilimumab or any other antibody or drug specifically targeting T-cell co-stimulation or checkpoint pathways)Xx_NEWLINE_xX