The only way I have come up with to model a track cam is to do it with sheet metal. It is a bit of a hack but it produces quite good results.
Basically you model a sheet metal tube, unfold it, cut the cam curve out of it and then refold it back into a tube. You can then extrude a cylinder...