A brain abscess can indeed come from a severely infected tooth. Your brain can become infected from a tooth abscess or other tooth infection as well as an ear infection.
If you believe you might have a brain abscess infection you need to get to your doctor as soon as possible.