The Exton Square Mall was sold Tuesday for $34.25 million to Abrams Realty, which plans to replace the 52-year-old shopping destination with hundreds of residences and new retail stores.