A private investor has purchased a newly built retail center in Morris County for nearly $24 million, in a transaction arranged by Marcus & Millichap.