Serious intercurrent infections or non-malignant medical illnesses that are uncontrolled Poor medical risk because of other conditions such as uncontrolled systemic diseases, active uncontrolled infections, or comorbidities that may put the patient at risk of not being able to complete at least 2 cycles of treatment. Non-malignant medical illnesses that are uncontrolled or whose control may be jeopardized by study treatment, such as severe hereditary coagulation disorders or insulin-dependent diabetes mellitus that is not optimally controlled with medical management (example, presence of ketoacidosis) Patients who have any severe and/or uncontrolled medical conditions or other conditions that could affect their participation in the study such as:\r\n* Severely impaired lung function\r\n* Any active (acute or chronic) or uncontrolled infection/disorders\r\n* Nonmalignant medical illnesses that are uncontrolled or whose control may be jeopardized by the treatment with the study therapy\r\n* Psychiatric illness/social situations that would limit compliance with study requirement Patients with serious intercurrent infections, or nonmalignant medical illnesses that are uncontrolled or whose control may be jeopardized by the complications of this therapy Poor medical risk due to a serious, uncontrolled medical disorder, non-malignant systemic disease or active, uncontrolled infection. Any serious or uncontrolled medical disorder or active infection At high medical risk because of non-malignant systemic disease including uncontrolled infection Uncontrolled infection or other serious medical illnesses. Medical suitability for resection, including documented medical and cardiac clearance Serious intercurrent infections or non-malignant medical illness that are uncontrolled or the control of which may be jeopardized by this therapy. Any medical conditions that, in the investigator’s opinion, would impose excessive risk to the subject, e.g., any uncontrolled disease, such as pulmonary disease, infection, seizure disorder, uncontrolled hyperglycemia Unstable medical comorbidities (i.e. uncontrolled cardiac comorbidities) A serious uncontrolled medical disorder that in the opinion of the investigator may be jeopardized by the treatment with protocol therapy A serious uncontrolled medical condition requiring therapy Patients considered a poor medical risk due to a serious, uncontrolled medical disorder, non-malignant systemic disease or active, uncontrolled infection Serious concurrent infection or nonmalignant illness that is uncontrolled or whose control may be jeopardized by complication of study therapy Patients being considered at poor medical risk due to a serious, uncontrolled medical disorder or non-malignant systemic disease. Serious intercurrent infections or non-malignant medical illness that are uncontrolled or the control of which may be jeopardized by this therapy Uncontrolled medical illnesses Has any other severe, uncontrolled medical condition, including uncontrolled DM or unstable CHF Patients with active or uncontrolled infections or with serious illnesses or medical conditions which would not permit the patient to be managed according to the protocol. This includes but is not limited to: Patients have a severe and/or uncontrolled medical disease (i.e., uncontrolled diabetes, chronic renal disease, or active uncontrolled infection) Serious uncontrolled medical disorder or uncontrolled active systemic infection or current unstable or decompensated respiratory or cardiac conditions which makes it undesirable or unsafe for the patient to participate in the study Uncontrolled medical problems Uncontrolled medical problems A serious uncontrolled medical disorder that in the opinion of the investigator may be jeopardized by the treatment with protocol therapy Patients who have any severe and/or uncontrolled medical conditions or other conditions that could affect their participation in the study such as any active (acute or chronic) or uncontrolled infection/ disorders or nonmalignant medical illnesses that are uncontrolled or whose control may be jeopardized by the treatment with the study therapy Serious concurrent uncontrolled medical disorder Patients must not be considered a poor medical risk due to a serious, uncontrolled medical disorder, nonmalignant systemic disease or active, uncontrolled infection. Poor medical risk because of systemic diseases (e.g. active uncontrolled infections) in addition to the qualifying disease under study. Acute and chronic, active infectious disorders and non malignant medical illnesses that are uncontrolled or whose control may be jeopardized by the complications of this study therapy Has any of the following medical conditions: uncontrolled diabetes, psychiatric disorder (including dementia) that prevents compliance with protocol, uncontrolled seizures, newly diagnosed deep vein thrombosis, active systemic infection that is likely to interfere with study procedure or results Patients must have no non-malignant medical illnesses that are uncontrolled or whose control may be jeopardized by the treatment with protocol therapy Serious uncontrolled medical disorder Serious intercurrent infections or non-malignant medical illness that are uncontrolled or the control of which may be jeopardized by this therapy Severe or uncontrolled medical conditions (i.e., uncontrolled diabetes, active or uncontrolled infection) Any serious or uncontrolled medical disorder or active infection Patients have a severe and/or uncontrolled medical disease (i.e., uncontrolled diabetes, chronic renal disease, or active uncontrolled infection) Uncontrolled hypothyroidism Serious intercurrent infections or non-malignant medical illnesses that are uncontrolled Uncontrolled or unstable medical or psychiatric co-morbidities which would clearly preclude use of MLN8237 or erlotinib Nonmalignant medical illnesses that are uncontrolled or a controlled illness that may be jeopardized by the treatment with protocol therapy Subjects considered a poor medical risk due to a serious, uncontrolled medical disorder, non-malignant systemic disease, or active, uncontrolled infection; Considered a poor medical risk due to a serious uncontrolled disorder Acute and chronic active infectious disorders and non-malignant medical illnesses that are uncontrolled or whose control may be jeopardized by the complications of this study therapy Uncontrolled or severe concurrent medical condition (including uncontrolled brain metastases). Patients with any concurrent severe and/or uncontrolled medical condition or active uncontrolled systemic infection as determined by the investigator Uncontrolled or severe concurrent medical condition (including uncontrolled brain metastases). Serious intercurrent infections or non-malignant medical illnesses that are uncontrolled or the control of which may be jeopardized by this therapy Uncontrolled or unstable medical or psychiatric co-morbidities which would clearly limits patients participation Uncontrolled or severe concurrent medical condition (including uncontrolled brain metastases). Serious or uncontrolled medical disorder (including infection or cardiovascular disease) or dementia or other serious psychiatric condition Patients with serious intercurrent infections, or nonmalignant medical illnesses that are uncontrolled or whose control may be jeopardized by the complications of this therapy Uncontrolled infection or concomitant medical illness that is not adequately controlled with current medical management, as determined per clinician discretion High medical risks because of non-malignant systemic disease or with active uncontrolled infection; Unstable medical illnesses Patient is considered a poor medical risk due to a serious, uncontrolled medical disorder, non malignant systemic disease, or active, uncontrolled infection. Presence of a serious uncontrolled medical disorder. For participants who are randomized in aim 1:\r\n* No uncontrolled serious medical or psychiatric condition(s) that would affect the patient’s ability to participate in the interventional study, e.g., uncontrolled hypertension, symptomatic cardiac disease, or severe/uncontrolled depression as indicated by a Patient Health Questionnaire (PHQ-9) score > 9 (Kroenke)\r\n* No diagnoses of any other invasive malignancy other than endometrial cancer or non-melanoma skin cancer which required active treatment currently Uncontrolled hypothyroidism Uncontrolled hypothyroidism Must have no known medical problems and have had a full medical exam within 6 months of the study Patients with severe uncontrolled medical problems are not eligible for this trial. No uncontrolled serious medical problems except for the diagnosis of cancer. The patient has another concurrent illness that would preclude study conduct and assessment, including, but not limited to, another active malignancy (excluding squamous or basal cell skin cancer and in situ cervical cancer), uncontrolled medical conditions, uncontrolled and active infection (considered opportunistic, life threatening, or clinically significant), uncontrolled risk of bleeding, or uncontrolled diabetes mellitus. Serious concurrent uncontrolled medical disorder.