Cut off any extra wire beyond that needed to reach the terminal screws.
Next, touch the other probe to each of the switch's three terminal screws in turn.
Install it as you would a plug with terminal screws.
Four wires come in from the phone, each connected to its own terminal screw on the jack.
Newer switches also have a small green terminal screw for a ground wire.
Some switches have three or even four terminal screws.
Newer models of both also have a small green terminal screw for a ground wire.
If the connections seem all right loosen the terminal screws and remove both wires.
If the push button is not the problem, check the three terminal screws on the chime unit.
It usually has two terminal screws on the outside, to which the low-voltage wires are attached.