Raw water pump Imploded

So I noticed a squeal coming from my engine compartment , popped the "hood" and noticed water coming out of the back of the raw water pump. I figured something more than the impeller was wrong so I pulled the whole pump out and the ball bearings just litterly just fell out. I am going to put a new pump on. I am just curious to know if I can use the " Johnson brand" instead of the indmar pump? They look the same but I have no idea? Any advice would be appreciated.