Patrick Goulet used employee discounts — his and his co-workers’ — to purchase several hundred guns that he later resold on social media platforms without a license, according to prosecutors.