A man was sentenced to seven years in federal prison for his role in ATM j'ugging' robbery last year in North Texas, officials said.