can you switch federal law enforcement jobs and keep the years toward your 20 year pension?
say I want to start out as DEA after a few years of law enforcement. I know state and federal pensions are different but lets say if i dislike the DEA after 5 years can i switch to another law enforcement like FBI ATF etc. will i be able to add those 5 years onwards toward 20 year pension? please help thanks!

Yes, I transferred from NIS (now NCIS) to Customs as a special agent, both positions were Series 1811 (criminal investigator eligible for 20 yr retirement, as are DEA, ATF, & FBI). Military time also counts for overall retirement longevity, but not toward retirement for law enforcement or civilian time required for retirement. For example once I reached retirement age and had sufficient years of service for retirement, the military years added to the percentage of pay I would receive as a retiree.