Both are correct. They both mean 'occasionally' or 'now and then'. 'Every once in a while' carries a suggestion that the activity described may happen slightly more often than 'once in a while', but...
"Every once in a while" is correct.
"de vez en cuando"
The answer is once in a while.