A former Yahoo software engineer pleaded guilty in federal court Monday to hacking into thousands of Yahoo…