This is not a good cost estimating site. The only realistic way to get a useable cost figure for a project is to bid it out to several contractors. This site might be better at evaluating if the damaged truss is a candidate for repair instead of replacement. If you post several photos of the truss, and especially the damaged area, we might be able to help you understand the options for repair.