NASA on Sunday is set to launch a next-generation telescope into space that’s expected to survey hundreds of millions of stars and billions of galaxies.