Attleboro station is on the Providence/Stoughton line. It is on the Providence branch, which does not have Stoughton station
The previous answer is correct, but you might want to look at the map with transit layer turned on to understand what he meant. It's technically not the Stoughton train when going outbound from Boston.
Thanks! Your answer is awaiting moderation.