And yes, spreading contrails can cast shadows. They are just clouds: there is nothing special about contrails. Anything a cirrus cloud can do, so can a contrail.
As to how long they can last, one study which deliberately created distinctive contrails by flying in circles found the cloud they...