<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4/A</documentType>

    <periodOfReport>2024-07-15</periodOfReport>

    <dateOfOriginalSubmission>2024-07-17</dateOfOriginalSubmission>

    <issuer>
        <issuerCik>0001620533</issuerCik>
        <issuerName>Shake Shack Inc.</issuerName>
        <issuerTradingSymbol>SHAK</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002029068</rptOwnerCik>
            <rptOwnerName>Sentell Stephanie Ann</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>225 VARICK STREET</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 301</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10014</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Chief Operations Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-07-15</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>8703</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>8703</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares of Class A Common Stock (&quot;Class A Stock&quot;) of Shake Shack Inc. (the &quot;Issuer&quot;) underlying restricted stock units acquired by Ms. Sentell pursuant to Ms. Sentell's Employment Agreement with the Issuer and the Issuer's 2015 Incentive Award Plan, as amended. The restricted stock units representing the right to receive Class A Stock of the Issuer vest in 4 equal installments on each of July 15, 2025, July 15, 2026, July 15, 2027, and July 15, 2028.</footnote>
    </footnotes>

    <remarks>This amendment is filed solely to file the form using the correct Central Index Key (CIK) number of the Reporting Person.</remarks>

    <ownerSignature>
        <signatureName>/s/ Ronald Palmese Jr., Esq., Attorney-in-Fact for Stephanie Sentell</signatureName>
        <signatureDate>2025-04-23</signatureDate>
    </ownerSignature>
</ownershipDocument>
