Is it normal to have brown cervical mucus 2 days before period?

Perhaps yes. Some spotting or brown discharge a couple days prior to your period is fairly common. If you have any pain or vaginal irritation it might indicate an infection or endometriosis, and you should see your doctor.