Generate stats for 62 officers, 183 ratings, and 200 marines?
I suggest you don't. Generate the department heads, the primary bridge crew, and a handful of notable subordinates (the main ensemble), and then have half a dozen extras rolled up for use with the rest of the crew (the bit players). Also a list of a dozen names to draw on if a new character is needed. If any bit player gets a speaking part, pair one of the extras with a name and generate a new spare extra after the session.
Hans