I'm going to assume you are referring to the 4.0 Ghz 6700K and that 5.0Ghz was a typo.
No, you will not get the same FPS with the 3.4ghz as you would with the 4.0Ghz. The difference will vary depending upon game, settings, resolution, other hardware, etc. But in general the difference will be very small.