A historic commercial property across from the Westfield train station has changed hands for $5 million, brokers with Marcus & Millichap announced Wednesday.