Hello and welcome to FF,
Is it possible for you to get a picture of your motor and the wire your talking about? Sounds like it might be some type of sensor wire that has came unplugged causing your problems.
Team Duratec #01,Sedan Revolution#4, Elder FocusedSlayer, Gump Crew 21
February 2012 Sedan of The Month