A local investor has sold a medical office condominium in Gloucester County for nearly $4 million, in a newly announced transaction by Avison Young.