It depends on many factors including your individual biomechanics, preferences, and goals. Ultimately, you’ll need to try out both brands and see which one works better for you.
Both Brooks and Hoka shoes tend to be more expensive than other brands, so be prepared to spend a bit more money.