Got it working!
First I tried the third terminal. No change. The light remained on. Then I tried the second terminal. It worked! The attic switch is working normally now. I can only guess that accidentally pulling out the wire caused it to remain permanently in the ON position (it couldn't have...