how do i fix a park brake latch on 01'sonoma on 2001 GMC Sonoma

the latch just quit ratcheting& won't keep the emergency brake engaged.

Asked by for the 2001 GMC Sonoma
Autozone have some popular workshop manuals for free on line once you register (for free) on their website There is a company that independent auto repair shops get their information from, this same information is available inexpensively for people that work on their own cars.. The information is year make and model specific, covering repair procedures, torque specifications, fluid capacities and specifications, service bulletins, component locations, wiring diagrams ect.... Alldata is very easy to navigate
Alldata will be the best source for information.