Besides Schweinsteiger, David Villa, Kaka, Tim Howard and Sebastian Giovinco have been voted in.
The German midfielder, who was part of Germany's World Cup winning squad, is joined on the MLS All-star squad by team-mate Nemanja Nikolic.
The MLS team will face European and La Liga champions Real Madrid on August 2 at Soldier Field, home of the NFL Chicago Bears.
Just another day in the park.
— Major League Soccer (@MLS) 7 de julho de 2017
Introducing the Fan XI for the #MLSAllStar game pres. by @Target. pic.twitter.com/p0qEJ8ilee