The purpose of this study is to evaluate the efficacy and safety of pembrolizumab plus epacadostat alone or with platinum-based chemotherapy versus pembrolizumab plus platinum-based chemotherapy plus placebo as first-line therapy in participants with metastatic non-small cell lung cancer (NSCLC).