Cycle through Materials with Animation Nodes
You can just add your materials to a list, get a list element based on the frame, and set that material to the object using the Object Material Output node.