You are right. A sudden nodule with swollen eye could be a Hordeolum
(boil in common terms).
I would suggest to go with hot compresses 5-10 mins /twice a day along with a single dose of ibuprofen
thrice a day and apply the eye drops at least 3times a day both inside and over the lid margins.
If it is not coming down with this, in a day, you need to consult for a direct examination to get started on oral antibiotics
for a better and faster recovery.
Hope you get well soon.