Who was the last baseball player to play in the same game for both teams?

No one. Players are not allowed to play for two different teams in the same game in professional baseball.