The owner of a well-known, 133-unit apartment building in Montclair has sold the property after more than five decades, in a $38 million deal arranged by Gebroe-Hammer Associates.