If a third party stands in for the debt of (for example) a company, then that constitute a suretyship. If the suretyship undertaking is supported by a pledge of shares, then this is the correct document for you. Importantly, the pledge must be accompanied by the pledgee actually holding the share certificate.