I have a 92 Ford Ranger XLT with antilock brakes on the rear. I replaced the emergency brake cables, but after driving a few miles the brakes locked up on the rear when it cooled off they released. What is the solution to this problem?

If you mean you replaced the cables going to the rear drums, that would mean the rear brake assemblies would had to come apart in order to engage the cables to the parking brake lever. And if that’s the case, you have go back and check your work. For instance, you didn’t get the primary and secondary brake shoes mixed up when it was all put back together?