A milk-dealer would probably buy the milk wholesale, then sell it direct to the consumer, or to shopkeepers. Ann may have very well sold milk from their home since the census lists her as a shopkeeper. There were other women in the household who may have also sold milk directly to the consumers.
Until the advent of railways, cows were kept in the city. It was very common to find people having caught TB from drinking raw milk.