Can I make a story similar to somebody elses if I give credit?

And then there’s Fair Use.

I quote a couple of lines from Shakespeare’s Romeo and Juliet in my story “What Is This Thing Called Love?” to illustrate a point. This falls into the Fair Use category.

INT. MOVIE THEATER FANCY - DAY with PODIUMS LIT

@zoom on 0 138 to 224% in 0
@GARNER spot 0.512 46 263 in zone 1 AND GARNER moves to layer 0 AND GARNER faces right
@RACHELLE spot 0.512 125 289 in zone 1 AND RACHELLE moves to layer 0
@GARNER changes into GARNER_crimesuspect
@overlay PODIUMS LIT shifts to -88 -1 in zone 1
@overlay PODIUMS LIT scales to 1.000 1.000
@overlay PODIUMS LIT moves to layer 5
@GARNER starts talk_kneel_propose_happy AND RACHELLE starts admire_happy
@speechbubble reset

    NARRATOR (ESTER)
But this is far from the powerful sweeping emotion described in their culture.

    GARNER (talk_armsraised_neutral)
Lady, by yonder blessèd moon I vow, that tips with silver all these fruit-tree tops-

    RACHELLE (talk_shrug_concerned)
O, swear not by the moon, the inconstant moon, that monthly changes in her circled orb, lest that thy love prove likewise variable.

    GARNER (talk_armsraised_neutral)
What shall I swear by?

    RACHELLE (talk_neutral)
Do not swear at all; Or, if thou wilt, swear by thy gracious self, which is the god of my idolatry, and I'll believe thee.