No, the schematic is wrong. The center terminal ( the one connecting to D1) is correctly the positive one.
The sleeve contact (the one labeled B) should be tied to ground
The switch contact (the one labeled A) is connected to ground when the plug is not inserted, and open when the plug is inserted. This should go to the gate of Q1.
If it was actually wired as shown there would be a conflict between USBVCC and VIN when an external power supply is connected because the line to the gate of Q1 will be connected to GND in both cases, instead of being pulled high by R4 when a plug is connected. I picked the Blackboard and schematic to use in a class, and that’s when I noticed the “typo”.