Is Nintendo NX the Switch?

Yes, the codename prior to the official announcement of the Switch was the Nintendo NX