Have you ever broken up with a friend?

I made friends with my son’s best friend from preschool a few years ago. But lately I am not able to talk to her without getting annoyed. She has very weird opinions. Like she thinks working should be optional for people who want to make extra money but the government should provide housing and food to everyone. Her and her husband don’t work and haven’t for years, they live off assistance. She doesn’t agree with homework or schoolwork and doesn’t make her son do any work. Needless to say he’s failing but she doesn’t care. She says schoolwork is for school and home life is separate. I get her point but I would never let my child fail because of it. I also found out she steals from Walmart and doesn’t care because she hates capitalism and big corporations. Recently she has started saying how we are inherently bad because we are white people and white people are genetically more evil and violent and she says this stuff to her son. How do I break up with her as a friend? I don’t want to force my child to stop being friends with her son but I don’t know how to separate the two.