No, they don't have the same meaning. The phrasal verb "jump in" has several meanings, but none of them are the same as "jump the gun", which comes directly from athletics/track & field, and means to start running before the gun fires, i.e. do something prematurely.
In your two examples, "jump in" is wrong. You have to use "jump the gun" here.