A new tax on multi-million-dollar second homes in New York City targets about 10,000 luxury properties and is expected to generate up to $500 million…