According to a December 22, 1977 article from the AP in the Youngstown Vindicator, there were discussions of a series between an MLB All-Star Team and the Cuban National Team:
It, of course, never happened. It wasn’t until the late 90s that MLB players (the Baltimore Orioles) played the Cuban National Team. The two teams split a home-and-home series.
For those wondering, Cuba’s record against teams in the World Baseball Classic that have had large numbers of MLB players is mixed: they had a 3-2 record in 2006 against teams with large numbers of MLB players (Puerto Rico, Venezuela and the Dominican Republic) and had a 2-0 record against Mexico in the 2009 WBC (the rest of their games were against teams that were either made up of predominantly foreign league players, or against mainly minor leaguers).