In an interview with Moviehole, Tyrese Gibson revealed that he will most likely return for Transformers 4. It now seems like Josh Duhamel and Gibson will both at least have cameos in the movie.
"It’s looking like an appearance might happen. I haven’t got that phone call
yet, officially. We’ll see what happens."