Mattio, I'm sure that somewhere on the internet exists the line drawing illustration of this type of locomotive. I have the Greenberg book which shows it. On the Lionel website, there's a downloadable listing of parts supplements, but I have no idea which supplement this loco would be in. I'd have to do some digging to find it, as I do have some of those supplements downloaded.
Basically this is the same motor frame used in pretty much all of the Lionel 4-4-2 and 2-4-2 starter set steam engines with DC motor and electronic circuit board reverse unit, pre-Lionchief. Matter of fact, the sheet metal frame assembly with motor is the same one used in the DC only steam locos from the late 1980's-early 1990's minus the electronic circuit board e-unit and smoke unit. So it is a common part that's been around for a while.
As another troubleshooting possibility to what has already been suggested above, you might want to look at the gear retainer (part 14 from your included Scout list parts PDF from Lionel). It is on the opposite side of the loco as shown by your second photograph. This retainer is on the same side as the gear tooth attached to the motor. The retainer holds a gear and is held on to the sheet metal frame with two screws. If there is a crack or a break in this piece, it might result in the problem you are having. This happened to me once, which is why I suggest it.
Usually in most cases, if the DC can motor is bad, it won't work in either forward or reverse. While your engine is apart from the die cast shell, try hooking up a couple wires and watch the motor and gears from the other side of your second photo. Wires with alligator clips would be handy. One wire to anywhere on the sheet metal frame, and another to the roller pick ups. Check and see if anything with the gears or motor appears to be off.
Or you could use the two prongs sticking from the backside of the motor. Just be careful as you don't want to break those from the motor.
Yes, these basic engines are pretty good runners and reliable. My oldest one is now close to 30 years old. And because they were made in very large quantities, parts are generally available from Lionel parts dealers. Or in an extreme case you can sometimes more economically purchase another second hand one engine to breakdown and cob for parts.
I had to replace the smoke unit after about 13 years, but that is to be expected given the use I'd given it.