A strike that would have seen thousands of residential doormen in New York City walk off the job this week appears to have been averted by a tentative agreement on a new contract, officials said.