I think the book you're talking about is Atomic Habits by James Clear. I just finished it this month and it's terrific. The story of Japanese Train Conductors stuck out to me as well. Clear also has a terrific blog, which is where many of the content for the book was pulled from.
James Clear: https://jamesclear.com/articles
Atomic Habits: https://smile.amazon.com/Atomic-Habits-Proven-Build-Break/dp...