docetaxel with or without bintrafusp alfa for the treatment of advanced non-small cell lung cancer

Conditions: Advanced Lung Non-Small Cell Carcinoma; Stage III Lung Cancer AJCC v8; Stage IIIA Lung Cancer AJCC v8; Stage IIIB Lung Cancer AJCC v8; Stage IIIC Lung Cancer AJCC v8; Stage IV Lung Cancer AJCC v8; Stage IVA Lung Cancer AJCC v8; Stage IVB Lung Cancer AJCC v8

Summary: this phase ii trial studies how well docetaxel works with or without bintrafusp alfa in treating patients with non-small cell lung cancer that has spread to other places in the body (advanced). chemotherapy drugs, such as docetaxel, work in different ways to stop the growth of cancer cells, either by killing the cells, by stopping them from dividing, or by stopping them from spreading. immunotherapy with bintrafusp alfa, may induce changes in body's immune system and may interfere with the ability of tumor cells to grow and spread. giving docetaxel and bintrafusp alfa in combination may work better in treating non small-cell lung cancer compared to docetaxel alone.

primary objective: i. to compare the progression-free survival (pfs) of bintrafusp alfa in combination with docetaxel versus (vs) docetaxel alone. secondary objectives: i. to evaluate overall survival of bintrafusp alfa in combination with docetaxel vs docetaxel alone. ii. to evaluate overall response rates of bintrafusp alfa in combination with docetaxel vs docetaxel alone. iii. to evaluate duration of response of bintrafusp alfa in combination with docetaxel vs docetaxel alone. iv. to evaluate the safety of bintrafusp alfa in combination with docetaxel vs docetaxel alone. correlative research objectives: i. to evaluate pd-l1, tgf-beta, and tmb as potential predictive markers of clinical response in tumor biopsies and in plasma. ii. to evaluate biomarkers associated with inhibition of tgf-beta and pd-l1. iii. to evaluate the changes in immune system using mass cytometry in response to tgf-beta and pd-l1 inhibition. outline: patients are randomized to 1 of 2 arms. arm i: patients receive docetaxel intravenously (iv) over 1 hour and bintrafusp alfa iv over 60 minutes on day 1. treatment repeats every 3 weeks for 4 cycles in the absence of disease progression or unacceptable toxicity. patients then receive bintrafusp alfa iv over 60 minutes on day 1. cycles repeat every 3 weeks for up to 2 years in the absence of disease progression or unacceptable toxicity. arm ii: patients receive docetaxel iv over 1 hour on day 1. cycles repeat every 3 weeks in the absence of disease progression or unacceptable toxicity. patients who experience disease progression may crossover to arm i and receive bintrafusp alfa alone. after completion of study treatment, patients are followed up at 30 days and then every 3 months for 5 years.

Eligibility criteria:
inclusion criteria: * age \>= 18 years * histological confirmation of non-small cell lung cancer (nsclc) with advanced disease * prior treatment required: * anti-pd1/pd-l1 agent in combination with platinum-based chemotherapy * measurable disease * note: tumor lesions in a previously irradiated area are not considered measurable disease; disease that is measurable by physical examination only is not eligible * eastern cooperative oncology group (ecog) performance status (ps) 0, 1 or 2 * hemoglobin \>= 9.0 g/dl (obtained =\< 14 days prior to registration) * absolute neutrophil count (anc) \>= 1500/mm\^3 (obtained =\< 14 days prior to registration) * platelet count \>= 100,000/mm\^3 (obtained =\< 14 days prior to registration) * total bilirubin =\< upper limit of normal (uln) (obtained =\< 14 days prior to registration) * alanine aminotransferase (alt/serum glutamate pyruvate transaminase \[sgpt\]) and aspartate transaminase (ast/serum glutamic-oxaloacetic transaminase \[sgot\]) =\< 1.5 x uln (obtained =\< 14 days prior to registration) * alkaline phosphatase \<= 2.5 x uln (obtained =\< 14 days prior to registration) * prothrombin time (pt)/international normalized ratio (inr)/activated partial thromboplastin time (aptt) =\< 1.5 x uln or if patient is receiving anticoagulant therapy inr or aptt is within target range of therapy (obtained =\< 14 days prior to registration) * calculated creatinine clearance \>= 30 ml/min using the cockcroft-gault formula (obtained =\< 14 days prior to registration) * negative pregnancy test done =\< 7 days prior to registration, for persons of childbearing potential only * note: if a urine test is positive or cannot be confirmed as negative, a serum pregnancy test will be required * willing to use birth control as follows: * if able to become pregnant: willing to use birth control during treatment and for 6 months after last dose of docetaxel and/or bintrafusp alfa, whichever is later * if able to father a child: willing to use birth control with partners able to become pregnant during treatment and for 3 months after last dose of docetaxel and/or bintrafusp alfa, whichever is later * provide written informed consent * willingness to provide mandatory blood specimens for correlative research * willingness to provide mandatory tissue specimens for correlative research * willing to return to enrolling institution for follow-up (during the active monitoring phase of the study) * crossover eligibility: documented disease progression =\< 28 days prior to crossover registration * crossover eligibility: no contraindications to bintrafusp alfa at the time of crossover registration * crossover eligibility: patient and physician agree to try crossover treatment with bintrafusp alfa * crossover eligibility: provide written informed consent exclusion criteria: * any of the following because this study involves an investigational agent whose genotoxic, mutagenic and teratogenic effects on the developing fetus and newborn are unknown: * pregnant persons * nursing persons * persons of childbearing potential who are unwilling to employ adequate contraception * any of the following prior therapies: * surgery =\< 4 weeks prior to registration * chemotherapy =\< 4 weeks prior to registration * received single agent anti-pd1/pd-l1 as first line therapy for metastatic disease * co-morbid systemic illnesses or other severe concurrent disease which, in the judgment of the investigator, would make the patient inappropriate for entry into this study or interfere significantly with the proper assessment of safety and toxicity of the prescribed regimens * uncontrolled intercurrent illness including, but not limited to: * ongoing or active infection * symptomatic congestive heart failure * unstable angina pectoris * cardiac arrhythmia * or psychiatric illness/social situations that would limit compliance with study requirements * receiving any other investigational agent which would be considered as a treatment for the primary neoplasm * other active malignancy =\< 5 years prior to registration * exceptions: non-melanotic skin cancer or carcinoma-in-situ of the cervix * note: if there is a history of prior malignancy, they must not be receiving other specific treatment for their cancer * history of myocardial infarction =\< 6 months, or congestive heart failure requiring use of ongoing maintenance therapy for life-threatening ventricular arrhythmias * known primary central nervous system (cns) malignancy or symptomatic cns metastases are excluded, with the following exceptions: * patients with asymptomatic untreated cns disease may be enrolled, provided all of the following criteria are met: * evaluable or measurable disease outside the cns * no metastases to brain stem, midbrain, pons, medulla, cerebellum, or within 10 mm of the optic apparatus (optic nerves and chiasm) * no history of intracranial hemorrhage or spinal cord hemorrhage * no ongoing requirement for dexamethasone for cns disease; patients on a stable dose of anticonvulsants are permitted * no neurosurgical resection or brain biopsy =\< 28 days prior to registration * patients with asymptomatic treated cns metastases may be enrolled, provided all the criteria listed above are met as well as the following: * radiographic demonstration of improvement upon the completion of cns-directed therapy and no evidence of interim progression between the completion of cns-directed therapy and the screening radiographic study * no stereotactic radiation or whole-brain radiation =\< 28 days prior to registration * screening cns radiographic study \>= 4 weeks from completion of radiotherapy and \>= 2 weeks from discontinuation of corticosteroids * history of severe allergic, anaphylactic, or other hypersensitivity reactions to chimeric or humanized antibodies or fusion proteins * history or current evidence of bleeding disorder, including bleeding diathesis, i.e., any hemorrhage/bleeding event of common terminology criteria for adverse events (ctcae) grade \>= 2 in =\< 28 days prior to registration * taking oral prednisone of \>= 10 mg daily or equivalent * known clinically significant liver disease, including active viral, alcoholic, or other hepatitis; cirrhosis; fatty liver; and inherited liver disease. notes: * patients with past or resolved hepatitis b infection (defined as having a negative hepatitis b surface antigen \[hbsag\] test and a positive anti-hbc \[antibody to hepatitis b core antigen\] antibody test) are eligible * patients positive for hepatitis c virus (hcv) antibody are eligible only if polymerase chain reaction (pcr) is negative for hcv ribonucleic acid (rna) * history or risk of autoimmune disease, including, but not limited to, systemic lupus erythematosus, rheumatoid arthritis, inflammatory bowel disease, vascular thrombosis associated with antiphospholipid syndrome, wegener's granulomatosis, sjogren's syndrome, bell's palsy, guillain-barre syndrome, multiple sclerosis, autoimmune thyroid disease, vasculitis, or glomerulonephritis. notes: * patients with a history of autoimmune hypothyroidism on a stable dose of thyroid replacement hormone are eligible * patients with controlled type 1 diabetes mellitus on a stable insulin regimen are eligible * patients with eczema, psoriasis, lichen simplex chronicus of vitiligo with dermatologic manifestations only (e.g., patients with psoriatic arthritis would be excluded) are permitted provided that they meet the following conditions: * patients with psoriasis must have a baseline ophthalmologic exam to rule out ocular manifestations * rash must cover less than 10% of body surface area (bsa) * disease is well controlled at baseline and only requiring low potency topical steroids (e.g., hydrocortisone 2.5%, hydrocortisone butyrate 0.1%, fluocinolone 0.01%, desonide 0.05%, alclometasone dipropionate 0.05%) * no acute exacerbations of underlying condition within the last 12 months (not requiring psoralen plus ultraviolet a radiation \[puva\], methotrexate, retinoids, biologic agents, oral calcineurin inhibitors; high potency or oral steroids) * known active human immunodeficiency virus (hiv) infection (defined as patients who are not on anti-retroviral treatment and have detectable viral load and cd4+ \< 500/ml) * note: hiv-positive patients who are well controlled on anti-retroviral therapy are allowed to enroll * history of idiopathic pulmonary fibrosis, pneumonitis (including drug induced), organizing pneumonia (i.e., bronchiolitis obliterans, cryptogenic organizing pneumonia, etc.), or evidence of active pneumonitis on screening chest computed tomography (ct) scan. note: history of radiation pneumonitis in the radiation field (fibrosis) is permitted * severe infections =\< 4 weeks prior to registration, including, but not limited to, hospitalization for complications of infection, bacteremia, or severe pneumonia * history of peripheral neuropathy \>= grade 2 * known hypersensitivity to docetaxel or polysorbate 80