5 means 1945, the release date and the first bit of postwar civilian market production. 9 says that it is the 239 engine. The A simply designates it as a Ford passenger car part... all parts were thus designated based on first or main intended use, even for parts that were used in many other applications. Here, the very same engine went into mercs, pickups, etc., and the versions for heavy trucks differed only in externals, but the basic unit was A...
I think basic number for the whole lump would have been 59A-6005. Same number, same engine if it went into a Merc or a pickup or whatever, but if you want to quibble the A there makes it a Ford passenger part.
The B in 59AB has a different source entirely...
The cylinder head released with the new engine in '45-6 was 59A-6050. Partway through 1946, that head was replaced in production by a new head with slightly higher compression, 58A-6050B. The B in that position means that it is the second version of that part, and the 59AB was cast right onto it so service could tell what proper replacement part would be. At that time, the first head BECAME 59A-9510A for catalog purposes so proper part could be ordered for early cars, but of course the heads were not so marked because when they were made they were the only head and so did not need the letter. When you see a 59 AB, the B applies only to the head.
Normal 239 blocks were marked with the 59 at the rear for the benefit of service people, a correct marking, but the replacement postwar made block for 221's with small bore also incorrectly had the 59 simply because most of the casting cores were 59 cores with only the cylinder walls cast differently. The were sold under a correct part number, 41A...1944 design 221. They were not listed under the 59 # on the rear because they were not 9 series. These blocks were not used in production since Ford (in the USA) was not building 221 cars any more...their purpose was to fill the vast need for parts for early cars that had been run into the ground during WWII.