Police in Port Jefferson Station say an armed man wearing a Halloween mask forced his way into a home on Shenandoah Boulevard.
He stole items from the house and ran off before police arrived.
The incident happened at about 10 p.m. Thursday, and the man was arrested around 1:30 a.m. Friday.
Police say the suspect, 32-year-old Edwin Canela, is the boyfriend of the victim's sister.
He is charged with robbery and burglary.