There's no doubt in my mind that Ted Cruz would be an independent Attorney General. However, I see a situation unfold where a deal is made between Trump and McConnell. It would get Cruz out of the Senate, and Trump could fire Ted within months of being confirmed.
As a guide, Ted need only look at Chris Christie, who was played like a Stradivarius by Trump.