When approaching an intersection controlled by a four-way traffic signal that is not working, you should:

If a four-way traffic signal is not working, operators should treat the signal like a stop sign. If an officer is directing traffic, road users should follow the directions given by the officer.
DMV Writen Test