stir butter, brown sugar, corn syrup, and sweetened condensed milk together in a saucepan over medium-high heat. bring to a boil, stirring constantly, and reduce heat to medium. cook until a candy thermometer reads 248 degrees f (120 degrees c), 25 to 30 minutes; stir constantly to prevent burning.