As @Phaedrux said. I'd say it's a 90% probability that you have poor connection, probably a bad crimp that makes or breaks the heater circuit when the print head moves.