A brazen cashier at the Intrepid Museum pocketed more than $350,000 from cash registers while working at the famed decommissioned aircraft carrier, authorities charged Wednesday.

Ticket man Daniel Lee, 41, stole $367,090.97 over three years by reselling old tickets and keeping sight-seers’ entrance fees at the Intrepid Sea, Air, and Space Museum Complex, according to a complaint filed in Manhattan criminal court.

Between March 2016 and July Fourth this year, Lee allegedly exploited a quirk in the museum’s computer system that allowed workers to print out passes from the day before in case a guest lost theirs.

“The defendant would steal approximately $300 to $600 on a daily basis, by giving customers who made cash payments a reprinted Intrepid ticket from the prior day, not properly logging the transaction in the computer system, and then keeping the cash provided to pay for the tickets,” the complaint says.

Before the museum opened each day, he printed out a fist-full of old passes and kept them in a stack next to legit ones to hand out as he saw fit — though he’d occasionally log at least one legitimate ticket purchase when larger groups came through, according to court papers.

He was busted after another worker audited Lee’s ticket sales and reviewed museum surveillance footage, the court papers note.

Lee, who was arrested on July 9 and charged with one count of second-degree grand larceny, wore a red Polo shirt with the Intrepid logo on it during an arraignment Wednesday, where he was released without bail and ordered to return to court July 21.

“We contacted law enforcement as soon as we identified the issue and are continuing to provide our full cooperation,” the Museum said in a statement. “As this is an open police investigation, it is not appropriate for us to discuss specific details.”