GO:0004461: lactose synthase activity
Catalysis of the reaction: UDP-galactose + D-glucose = UDP + lactose.