- Subjects must meet one of the following: Cohort 1 (EGFRm): Has documented progression (based on RECIST 1.1 criteria) after >=4 months of clinical benefit on prior erlotinib/gefitinib/afatinib therapy within 30 days prior to the first dose of foretinib; Cohort 2 (EGFR/WT): Has documented progression (based on RECIST 1.1criteria) after >=2 months of clinical benefit on prior EGFR-TKI therapy within 30 days prior to the first dose of foretinib, or; Cohort 3: For the ROS1 subset, documented progression (based on RECIST 1.1 criteria) on or was intolerant of prior crizotinib/ROS1 inhibitor therapy or is naive to crizotinib/ROS1 inhibitor. Note: Crizotinib/ROS1 inhibitor naive subjects will be eligible for the study if crizotinib/ROS1 inhibitor is not available to them and participation in this trial is their only option for targeted ROS1 treatment. For additional biomarker-driven subsets, written documentation of entry requirements will be provided to IRB(s)/IEC(s).