I would check with your doctor. I had a tooth ache about 3 weeks ago, and the dentist wouldn't even touch me! I had to go through my OB for antibiotics and he didn't want me to go to the dentist. All dr's & patients are different, but my first step would be to contact your doctor.
If they are just going to do novacaine for the procedure and give you antibiotics to prevent infection it SHOULD be ok. I had 8 teeth pulled 2 weeks before I delivered my first pregnancy. I also had a wisdom tooth cut out at 8 months with my 3rd pregnancy. Just be sure to discuss it with your doctor and make sure you don't have any risk factors that would prevent it.