The cost to replace a john deere 331g engine can range from $8,000 to $15,000 depending on the size of the engine and labor costs.