Note: An enacted bill is a law and should be cited as a statute.
Template for citing an unenacted bill:
Title [if relevant], H.R. or S. bill or resolution number, xxx Cong. (year).
Note: Enacted (passed both Houses and signed by the President) bills and joint resolutions are laws and should be cited as statutes. There is one exception: Constitutional Amendments that pass both Houses of Congress do not go to the president, but instead are sent out to the states to be ratified.
Because this is a very long title, it may be best to present it narratively, e.g.,
A joint resolution originating in the Senate would be S.J.Res.