Two brothers from Brockton were sentenced in federal court on Monday for a staged bank robbery in 2024.