A North Carolina company is recalling nearly 12,000 boxes of pain relief tablets sold at Dollar Tree stores because some cartons contain a different medication that could cause allergic reactions.