A developer has reaped more than $19 million from the sale of a Walmart-anchored retail center in Hamilton Township, in a newly announced transaction by Marcus & Millichap.