Former state lawmaker to plead guilty to federal charge