Part identification
Hello! This part is called a top sash guide. What you have here looks to me like the old Milgard sash guide, though if I'm right then you might be in trouble. This part is unfortunately not made anymore.
We have one alternative solution if you don't mind a little handiwork. What I like to use is our 18-009, whose dimensions should be more or less the same. The only major difference is that our part has an extended edge along the top. You would have to trim that off with a utility knife (or whatever you're comfortable using).
You should look over our dimensions just to be safe, though. They should match up in all aspects except for the top edge, which will be larger. If anything else differs, let me know and I can see if we have something better.