No. You shouldn't rub even a little brandy on swollen gums. Tiny amounts of alcohol can be poisonous to a baby.
More in Teething relief
How can I make my baby feel better when she's teething?
Is it safe to give my baby a frozen bagel when she's teething?
Can I give my baby a frozen washcloth when she's teething?
Should I try a teething gel?
What can I do about my baby's drool rash?
Are there any homeopathic remedies for teething?
How can I make my baby feed while he's teething?
Should I use a pacifier to help my child with teething?
What can I do about my teething baby biting me during breastfeeding?