No, an 88 Chevy truck transmission will almost certainly
not work in a 95 Chevy truck without significant modifications, and likely not even then. The transmissions, even if they appear outwardly similar, are likely different enough internally to be incompatible. Things like bolt patterns, input shaft size, output shaft size, and even the electronic controls (if applicable) will differ substantially between those model years.
Even if you found a transmission from an '88 that happened to use the *same* case, there's a high chance that the internal components are significantly different and wouldn't mesh properly with the 95's transfer case, drivetrain, or engine. You'd be better off finding a transmission specifically designed for a 1995 Chevy truck.