The two firms, led by cousins, have worked together on several residential projects, all in the outer boroughs.