It depends on a lot of things. Are you going to take and pass before the match? Did you get a really good step 2 score?
It certainly lowers your chances. Programs want to have some assurance their residents can take standardized exams and pass boards since board failures start to put the program on scrutiny.
As an IMG with a step failure, you'll be going for the specialties that are the least difficult to match into.