It sounds from your description very like the actuator bar of the intermediate switch has broken so that the switch will not operate, however when you push on the switch this can shift the contacts and cause the flicker.
However this does not necessarily cover the initial flashing unless the actuator was just holding the contacts nearly closed, until the switch was tried and this moved the obstruction, but left the lights on.