First thing to do is grab a set of schematics to ascertain where that back / red wire is meant to go.
Second thing is to remember that you should not really be working around the transformer unless you know EXACTLY what you are doing !
Tripping the "safety switch" is a signal that there is something seriously wrong.
Can you provide a pic for us Peach ?