A man who stole hundreds of packages from a UPS facility because it made him “feel alive” has reached a plea deal.