A New Jersey man who was wrongly imprisoned for 10 days after he was erroneously identified by a facial recognition program has agreed to a $300,000 settlement of his suit in federal court.