New York landlords and tenants will gain access to $2.3 billion in federal aid allocated by the state.