97 Pontiac Grand Am

Replaced the speedometer cluster. Replaced it with a used one. Also replace computer. Both used parts came from same car. Now car will start and run for 1-2 mins then die. Almost like a secuity shut-off. How can I get it running?