GO:0003974: UDP-N-acetylglucosamine 4-epimerase activity
Catalysis of the reaction: UDP-N-acetyl-D-glucosamine = UDP-N-acetyl-D-galactosamine.