Nag Hammadi library
One of the Christian Gnostic writings found in the Nag Hammadi library, the "Second Treatise of the Great Seth", has a similar substitutionist interpretation of Jesus' death: