IMHO, the biggest contributor is the 24" scale length.
Next, you need a bolt on maple neck with rosewood board. (Never underestimate the tone contributed by a guitar's neck!)
Light weight tuners will yield less sustain, like a Mustang.
Use under-wound alnico pickups.
That will get you 90% of the way there. Body shape will not have as much impact as body wood. For a low cost Franken-stang, you could start with one of the SX 24" scale Strat-o-clones from Rondo Music.
Good luck!
Gary