Antonio Judd pleaded guilty Monday in Worcester Central District Court to charges including larceny from a person.
Police say Judd grabbed the hot dog in August after flashing what appeared to be a gun in Elm Park in Worcester, New England's second-largest city.
Police reports say Judd began to devour the hot dog, spilling mustard all over his shirt. They say when he was arrested later he was carrying a pellet gun and a pocket knife.
Records show Judd has been sentenced to prison at least three times for offenses including assault and vandalism.