The 2003 Lincoln engine is a modular V8, a series of Ford V8 engines introduced in 1991 and produced until 2009.
However, a 2003 v8 Lincoln engine won't fit in a 1997 Dodge Ram without performing extensive modifications to the mount of the Dodge Ram to accommodate that particular Lincoln engine type.