Electrical Questions? Ask an Electrician Online.
Hi, I'm Mike and I'll be assisting you. Please stand by while I review your question.
What you're saying is that this is a 3 way switched circuit. If so, connect as follows.
The red wires are travelers and independently are hot depending on switch position. If twisted together the light will be on and you won't be able to turn it off.
Very good ,you're welcome