backfires when i turn key off

It must be loading up on gas and when it fires it backfires through the exhaust. Have you checked your plugs to see if they are soaked?