A developer has sold a nearly one-acre parcel in Gloucester County, where plans call for a medical office building that will tap into demand from a new hospital less than a mile away.