An electrical contractor has purchased a 5,300-square-foot industrial building in South Hackensack, in a newly announced deal by NAI James E. Hanson.