A former senior executive at Equifax Inc. was criminally charged for allegedly selling almost $1 million worth of shares before the company’s announcement last year that it had suffered a massive data breach.