A nearly 43,000-square-foot flex industrial building in Branchburg has changed hands for $6.4 million, under a newly announced transaction by Cushman & Wakefield.