If you’re unhappy with your New York City apartment, it helps to have a relative who is a real estate agent.

That’s what Tim Burns, 38, discovered. Earlier this year, Mr. Burns was living much too close to an overactive jackhammer. He liked his studio in Williamsburg, Brooklyn, but the construction noise — a side