This is second part of a two part episode crossover with Bones (2005) The Resurrection in the Remains (2015)
The title of the episode is the same title of the fifth Pirates of the Caribbean film franchise released in 2017, two years after this episode was aired. Johnny Depp, who plays Captain Jack Sparrow in the Pirates of the Caribbean films, played Ichabod Crane in Tim Burton's Sleepy Hollow in 1999