A Massachusetts man agreed to plead guilty to allegedly embezzling bank funds while he was working as a Boston bank teller.