With the above history alone it is not possible to say what exactly caused your problem. More details are needed like where exactly was the swelling, how big was it, was it on both sides, how long did it last, did you take any medicines for that, was there any preceding or accompanying common cold
or sore throat
etc to make a better diagnosis.
Probably what you had was inflammation of lymph node in the neck.
It was unlikely to be Mumps
as one attack gives life long immunity even though rarely it can recur.
Your age and body weight have no relation to it.
and alcohol do not cause such problem.
No relation to menstruation
It is not a matter of concern unless it recurs.
If it recurs show it to an ENT specialist
who can examine you and determine the cause of it and do the needful.
Wish you good health