Is the Nintendo Switch replacing the Wii U?

Yes, it will be the new Nintendo console. People won't stop making games for it right away, but it will eventually replace any older consoles.