Component identification

I have recently run into a problem with my service truck, it has been given a heavy dose of extra voltage jumping another machine. The pcm I believe is repairable but I am having some difficulty identifying what I believe is a transistor or mosfet. The other module is not looking so good as it has literally burned the board in half

I’m not sure how to add a photo of it but it’s square with three legs out the bottom metal tab sticking out the top with this written on it
1002seda
H5 22
PN