It is called a run away camera. I suspect that the sensor is shot, and therefore it keeps telling the camera that it sees something, so the camera keeps taking pictures until the card is full or the batteries run out.
It is very common, and I have not heard of anyone having a solution short of buying a new camera or sending the camera in for repair.
I have had 2 Bushnell trophy cams do this, and thankfully BUshnell made good on their 2 year warranty. I actually paid the $20 for the extended warranty on the last Bushnell cam I bought.
Wish I had better news.