A former Sam’s Club warehouse leased to Amazon recently sold, marking a shift in the region from large suburban office spaces to warehouses. The transaction reflects a broader trend in New Jersey, where warehouse construction surged during the COVID-19 pandemic to meet the growing demand for e-commerce.