Naval shirt is a cosmetic reward from the Trouble Brewing minigame. It can be purchased from Honest Jimmy's House of Stuff for 1000 Pieces of eight. It cannot be resold to the shop.
Naval shirts can be stored in the Player owned house Costume room along with a Tricorn hat and Navy slacks of the same colour. They come in 7 different colours.