Former Hamilton County judge Megan Shanahan was formally sworn in Thursday as the Ohio Supreme Court's 165th justice.