I do think the major plan links TF1 with DOTM more than ROTF. The only thing that links the ROTF with the other 2 films is, a damaged megatron and the matrix
read what Tylermirage said to you
-Sam saying "Mister, I've saved your life twice."
-Simmons' photos of him at the pyramid.
-Wang "interrogating" Sam about "You showed up in the backgrounds of X photos on two different continents with aliens, that was you in Egypt", or whatever.
-Simmons saying "Washington, Egypt, heartbreak, I survive. I will survive."