The maker of Smith & Wesson firearms said it would split into two companies and reverse a multiyear diversification effort aimed at countering the sluggish domestic gun business.

American Outdoor Brands Corp. said Wednesday that it plans to separate into two companies in the second half of next year, with Chief Executive James Debney leading the smaller segment selling outdoor products such as hunting knives and camping equipment.

The...