I got two molar teeth extracted on 4/5 how long before I can play baseball?

Depends. If these were wisdom teeth extractions, were the teeth visible or were they impacted (below the gumline)? If impacted, and if they were difficult extractions, then you may need to take it easy for a week or longer, if simple extractions, then typically 3-4 days, so long as you are not in pain and not taking narcotic pain medication. Talk to your dentist.
No relation. There should be no relation with the tooth extraction and your ability to play baseball, unless the pain is causing an issue.