There is a grounding bolt in the top of the compressor that holds the ground and a wiring harness connector to the top of the compressor. check this to see if it is loose. If it si loose (or gone) then it will cause the AC light to blink and the AC to go out intermittently.
Glad to be of help.Got my Tundra fixed today. A ground screw was loose and it needed some freon. Works great and it only cost me $80.00. Thanks for all the help.