A private investor has acquired a 33-unit apartment building in Gloucester Township for $4.5 million, marking the first sale of the asset in more than four decades.