1991 Firebird Hatchback Latch Won't close

My Son’s Firebird Hatchback lid does not close properly. The power motor (that pulls the lid down securely) continues to run. I got another from the junkyard and a relay, but neither have solved the problem. I have to disconnect the motor to secure the hatchback.