Paul Schrader got credit for writing it, and Scorsese received director's credit.  
Jay Cocks and Martin Scorsese wrote two scenes each for this film, though neither one received writing credits.  Paul Schrader got credit for writing it, and Scorsese received director's credit.  With a cast including Harry Dean Stanton and Barbara Hershey in two of the stranger roles of their careers, Willem Dafoe plays the title character and Harvey Keitel plays his betrayer in this story about a messiah faced with a choice of fulfilling his mission or living a normal life.  FTP, what is this once-controversial 1988 movie based on a novel of the same name by Nikos Kazantzakis?
Jay Cocks and Martin Scorsese wrote two scenes each for this film, though neither one received writing credits.  
The Last Temptation of Christ