From the FDA Drug Label
Directions adults and children 2 years of age and older: clean the affected area apply a small amount of this product (an amount equal to the surface area of the tip of a finger) on the area 1 to 3 times daily may be covered with a sterile bandage children under 2 years of age: ask a doctor
The provided drug label does not mention stye treatment. Bacitracin (TOP) is mentioned, but its use for stye treatment is not explicitly stated. Therefore, no conclusion can be drawn about using this product for stye treatment 1.