You can answer the question yourself if you look up three things, namely the representative frequency of the background radiation (remember it is black body radiation so it has a spectrum rather than a single frequency), the frequency at which EM radiation gets classified as gamma rays, and the formula for the relativistic Doppler effect, which tells you how the change in frequency is dependent on velocity. On principle I am not going to do that work for you, as I think you should have tried to work it out for yourself. However, I seem to remember that for visible light to appear as gamma radiation, the relative speed of the source and observer would need to be something like 0.999999999c, so that will give you an idea.
You might also like to look up how much energy you would need to accelerate a spaceship to such a speed relative to the CMB, as that will tell you how unlikely it is that the gamma radiation would prove to be the biggest obstacle in the short term. You might also like to consider how much energy would be required to steer your space ship- a u-turn for example, would require double the energy you used to accelerate in the first place, as would a right hand turn now I think about it.