A yarn distributor has agreed to lease nearly 3,000 square feet at a Wayne office building, seeking to upgrade its space as part of a move from nearby Paterson.