Analysts determined that the five boroughs have an immediate need for 290,000 housing units to address current shortages and ease the city’s measly 1.4% apartment vacancy rate.