NAI James E. Hanson has negotiated the sale of a freestanding, 7,000-square-foot former YMCA office building in Livingston.