It looks like JFK is scheduled with A333 which does have the same flat bed seats as the 77W. TK is notorious though for substitutions, so if you have a light load on your departure day there's always a chance it could get subbed for a 332, most of which have angle flat seats in J. If the connection time makes sense then I'd book the 77W flight myself, just to be sure.