I'd go for a live-in 3 or 4 family bldg. Look for properties that have the best commute for your wife in/out of city. South Bronx, Brooklyn & Queens all have such areas. The closer the proximity to work, the easier it is for her to uber home when working late. Subways are not safe these days, especially late.
You'd also probably get the best mortgage terms/rates if you're live-in owner. With $1M you should be able to get something good. There are many opportunities for under $2M and if you do 50% financing, you'll even make money from your rentals on a monthly basis. If you put 20-25% down,you could get a 2nd bldg.
Another great benefit of living in one of the units is that you'll never need to worry about how that unit is being taken care of and if rent will be covered. Otherwise NYC is tenant friendly and anti-landlord. Any tenant can potentially be a huge problem.
Good luck and don't hesitate to reach out if you have any specific questions.