The Justice Department staked out the position in briefs filed late Monday by Solicitor General Theodore B. Olson in two cases that the Supreme Court is considering for review. It was believed to be the first time that the department, speaking for the federal government, has said in a formal filing with a federal court that the Second Amendment grants an individual the right to bear arms.