Other invasive malignancy =< 5 years prior to registration; exceptions are colonic polyps, non-melanoma skin cancer, ductal carcinoma in situ, bladder carcinoma in situ, or carcinoma-in-situ of the cervix Patients with other malignancies within the past 2 years, except for adequately treated carcinoma of the cervix or basal or squamous cell carcinomas of the skin or surgically treated early stage solid tumors are ineligible to participate in this study STEP I: Patients with a history of prior malignancy are eligible provided they were treated with curative intent and do not require active therapy (currently treated basal cell, squamous cell carcinoma of the skin, or carcinoma in situ of the cervix or breast are not excluded) History of non-breast malignancies (except for in situ cancers treated only by local excision and basal cell and squamous cell carcinomas of the skin) within 5 years prior to randomization Prior malignancy within 2 years before enrollment other than curatively treated cutaneous basal cell or squamous cell carcinoma, carcinoma in situ of the cervix, anal intraepithelial neoplasia, or cutaneous Kaposis sarcoma (KS); participants with prior malignancies must have completed all therapy at least 2 years before enrollment with no evidence of disease since therapy completion Patients must be disease-free of other prior invasive malignancies for >= 5 years with the exception of curatively-treated basal cell or squamous cell carcinoma of the skin or carcinoma in situ of the cervix; prior early stage breast cancers are also allowed as long as prior treatment did not include aromatase inhibitors Patients must have no concurrent malignancy except curatively treated basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix, breast, or bladder; patients with prior malignancies must be disease-free for >= five years No other malignancy within 5 years of registration with the exception of basal cell or squamous cell carcinoma of the skin treated with local resection only or carcinoma in situ of the cervix Presence of an invasive malignancy other than the study indication under this trial within 3 years of study enrollment except for carcinoma in situ CIS, squamous cell carcinomas of the skin, or basal cell carcinoma of the skin; a diagnosis of an invasive malignancy within 3 years is allowed if both the cure rate is felt to be > 80% and there has been no evidence of disease in the past year History of another malignancy other than the study indication under this trial within 5 years of study enrollment; does not apply to subjects who underwent successful definitive resection of basal or squamous cell carcinoma of the skin, superficial bladder cancer, in situ cervical cancer, in situ breast cancer, or other in situ cancers* Exception: patients with history of RAS mutation-positive tumors are not eligible regardless of interval from the current study; prospective RAS testing is not required; however, if the results of previous RAS testing are known, they must be used in assessing eligibility Patients with a previous or current malignancy at other sites should be excluded, with the exception of:* Curatively treated local tumors such as carcinoma-in-situ of the cervix, basal or squamous cell carcinoma of the skin* Tumors for which no relapse has been observed within 5 years Patients with second primary malignancy, EXCEPTIONS are: * Adequately treated non-melanoma skin cancer, curatively treated in situ cancer of the cervix, ductal carcinoma in situ (DCIS) of the breast, stage 1 grade 1 endometrial carcinoma* Other solid tumors and lymphomas (without bone marrow involvement) diagnosed >= 5 years prior to randomization and treated with no evidence of disease recurrence and for whom no more than one line of chemotherapy was applied Patients must be disease-free of prior invasive malignancies for > 5 years with the exception of curatively-treated basal cell or squamous cell carcinoma of the skin or carcinoma in situ of the cervix* NOTE: If there is a history of prior malignancy, patients must not be receiving other specific treatment for that cancer Patients must have no concurrent malignancy except curatively treated basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix, breast, or bladder; patients with prior malignancies must be disease-free for >= five years Patients must have no concurrent malignancy except curatively treated basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix, breast, or bladder; patients with prior malignancies must be disease-free for >= three years prior to registration Patients must not have other current malignancies, other than basal cell skin cancer, squamous cell skin cancer, in situ cervical cancer, ductal or lobular carcinoma in situ of the breast; patients with other malignancies are eligible if they have been continuously disease-free for > 3 years prior to the time of registration; patients with history of RAS mutation-positive tumors are not eligible regardless of interval from the current study; Note: prospective RAS testing is not required; however, if the results of previous RAS testing are known, they must be used in assessing eligibility Patients must not have other current malignancies, other than basal cell skin cancer, squamous cell skin cancer, in situ cervical cancer, ductal or lobular carcinoma in situ of the breast Adequately treated carcinoma in situ without current evidence of disease Has a known additional malignancy that is progressing or requires active treatment; exceptions include basal cell carcinoma of the skin, squamous cell carcinoma of the skin, or in situ cervical cancer that has undergone potentially curative therapy Patients must have no concurrent malignancy except curatively treated basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix, breast, or bladder; patients with prior malignancies must be disease-free for >= five years Patients must not have other current malignancies, other than basal cell skin cancer, squamous cell skin cancer, in situ cervical cancer, ductal or lobular carcinoma in situ of the breast; patients with other malignancies are eligible if they have been continuously disease-free for > 3 years prior to the time of randomization Participant is =< 2 years free of another primary malignancy; exceptions include the following:* Basal cell skin cancer * Cervical carcinoma in situ* Anal carcinoma in situ History of non-breast malignancies (except for in situ cancers treated only by local excision and basal cell and squamous cell carcinomas of the skin) within 5 years prior to randomization Patients with a history of another malignancy except for those who have been disease-free for 2 years; patients with a history of definitively treated non-melanoma skin cancer or squamous cell carcinoma of the cervix are eligible; patients with definitively treated in-situ cancers are eligible, regardless of timeframe Diagnosis or treatment for another malignancy within 3 years of enrollment, with the exception of complete resection of basal cell carcinoma or squamous cell carcinoma of the skin, any in situ malignancy, or low-risk prostate cancer after curative therapy If history of prior malignancy, subject should be in complete remission for >= 5 years at the time of registration (with the exception of basal cell or squamous cell carcinoma of the skin treated with local resection) Patients must have no concurrent malignancy except curatively treated basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix, breast, or bladder; patients with prior malignancies must be disease-free for >= five years Any concomitant or prior invasive malignancies with the following curatively treated exceptions:* Treated limited stage basal cell or squamous cell carcinoma of the skin* Carcinoma in situ of the breast or cervix* Primary endometrial cancer meeting the following conditions: stage not greater than IA, grade 1 or 2, no more than superficial myometrial invasion, without vascular or lymphatic invasion; no poorly differentiated subtypes, including papillary serous/serous, clear cell, or other International Federation of Gynecology and Obstetrics (FIGO) grade 3 lesions* Prior cancer treated with a curative intent with no evidence of recurrent disease 3 years following diagnosis and judged by the investigator to be at low risk of recurrence Any concomitant or prior invasive malignancies with the following curatively treated exceptions:* Treated limited stage basal cell or squamous cell carcinoma of the skin* Carcinoma in situ of the breast or cervix* Primary endometrial cancer meeting the following conditions: stage not greater than IA, grade 1 or 2, no more than superficial myometrial invasion, without vascular or lymphatic invasion; no poorly differentiated subtypes, including papillary serous/serous, clear cell, or other Federation of Gynecology and Obstetrics (FIGO) grade 3 lesions* Prior cancer treated with a curative intent with no evidence of recurrent disease 5 years following diagnosis and judged by the investigator to be at low risk of recurrence Patients with known other active cancers; skin cancers (basal or squamous) are exempted Patients with active malignancies other than NSCLC or prior curatively treated malignancy at high risk of relapse during the study period with the exception of localized squamous or basal cell skin cancers Patients with concomitant or prior invasive malignancies within the past 3 years; subjects with treated limited stage basal cell or squamous cell carcinoma of the skin or carcinoma in situ of the breast or cervix are eligible Patients with active malignancies other than NSCLC or prior curatively treated malignancy at high risk of relapse during the study period with the exception of localized squamous or basal cell skin cancers Patients with previous or concomitant non-breast invasive malignancy; exceptions are limited exclusively to patients with the following previous malignancies, if adequately treated: basal or squamous cell carcinoma of the skin, in situ non-breast carcinoma, contra- or ipsilateral in situ breast carcinoma, stage Ia carcinoma of the cervix Patients with active malignancies other than NSCLC or prior curatively treated malignancy at high risk of relapse during the study period with the exception of localized squamous or basal cell skin cancers Patients with a history of any active malignancy requiring on-going treatment, except basal cell carcinoma or squamous cell carcinoma of the skin History of other prior malignancy, except squamous cell carcinoma of the cervix or anus, superficial basal cell or squamous cell skin cancer, or other malignancy curatively treated more than 5 years ago before enrollment Diagnosis of any second malignancy within the last 5 years prior to cycle 1, day 1, with the exception of those with a negligible risk of metastasis or death, per investigators discretion (such as adequately treated carcinoma in situ of the cervix, basal or squamous cell skin cancer, localized prostate cancer treated surgically with curative intent, ductal carcinoma in situ treated surgically with curative intent) Participant is < 2 years free of another primary malignancy; exceptions include basal cell skin cancer, stage 0-I squamous cell cancer of the skin, cervical carcinoma in situ, anal carcinoma in situ No prior malignancy of any type (including ductal breast carcinoma in situ [DCIS]) within the past 5 years except for current diagnosis of breast cancer, and any prior diagnosis of basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix; patients with a prior history of breast cancer greater than 5 years from study screening may participate in this study Previous or concurrent history of malignancies within 5 years prior to study treatment except for curatively treated:* Cervical carcinoma in situ* Non-melanoma skin cancer* Superficial bladder cancer (Ta [non-invasive tumor], Tis [carcinoma in situ] and T1 [tumor invades lamina propria]) Patients with a known concurrent malignancy that is progressing or requires active treatment; exceptions include basal cell carcinoma of the skin or squamous cell carcinoma of the skin that has undergone potentially curative therapy or carcinoma in situ of the cervix Patients with a previous history of non-breast malignancy are eligible only if they meet the following criteria for a cancer survivor: (1), and (2)* Has undergone potentially curative therapy for all prior malignancies* Has been considered disease-free for at least 1 year (with the exception of basal cell or squamous cell carcinoma of the skin or carcinoma-in-situ of the cervix) No concurrent active malignancies are allowed on study for >= 2 years prior to treatment start with the exception of currently treated basal cell or squamous cell carcinoma of the skin, or carcinoma in-situ of the cervix or breast Patients with concomitant or prior invasive malignancies within the past 5 years; subjects with limited stage basal cell or squamous cell carcinoma of the skin, carcinoma in situ of the breast, or non-muscle invasive bladder cancer, are eligible as long as they received curative intent therapy Patients with a history of acute myeloid leukemia (AML), or patients with a history of any other primary malignancy within 3 years prior to initiation of treatment on this study; exceptions include: patients with a history of malignancies (other than AML) that were treated curatively and have not recurred within 3 years prior to study entry; resected basal and squamous cell carcinomas of the skin; and completely resected carcinoma in situ of any type Patient must be disease-free >= 3 years of prior malignancies with the exception of adequately treated non-melanoma skin cancer, adequately treated in situ carcinoma, low grade prostate carcinoma (Gleason grade =< 6) managed with observation that has been stable for at least 6 months Malignancies other than the cervical cancer within 5 years prior to cycle 1, day 1, with the exception of those with a negligible risk of metastasis or death, such as adequately controlled basal cell carcinoma or squamous cell carcinoma of the skin or carcinoma in situ of the breast Concurrent malignancy (other than squamous cell carcinoma [SCC] or basal cell carcinoma of non-penile skin) that has required surgical or non-surgical treatment in the last 3 years Concurrent, active malignancies in addition to that being studied (other than cutaneous squamous cell carcinoma or basal cell carcinoma) Participants with any concomitant or prior invasive malignancies are ineligible with the following exceptions:* Treated limited-stage basal cell or squamous cell carcinoma of the skin* Carcinoma in situ of the breast or cervix* Prior cancer treated with curative intent with no evidence of recurrent disease 3 years following diagnosis and judged by the investigator to be at low risk of recurrence Patients must have no concurrent malignancy except curatively treated basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix, breast, or bladder; patients with prior malignancies must be disease-free for >= 5 years Patients must have no concurrent malignancy except curatively treated basal or squamous cell carcinoma of the skin or carcinoma in situ of the cervix, breast, or bladder; patients with prior malignancies must be disease-free for >= five years