How to ID a 5.7 engine

I have always had BB & SB, how do I get as much info from the sticker on the valve cover
TNXE6206310345
P01893040OA
040
OA
Can get from a friend of a friend?, was told from a rollover dodge car. complete engine and wire harness. Next question what is the going price for a used 5.7 not locked up and can turn crank? any help for a 1st time HEMI possible owner.